From f53e1cef6dac8931d0565bb49b9120271641025d Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Tue, 10 Dec 2019 22:23:19 +0100 Subject: [PATCH] Switch to python 3 - #259 Signed-off-by: Thomas Lauf --- test/annotate.t | 2 +- test/cancel.t | 2 +- test/chart.t | 2 +- test/cli.t | 2 +- test/clock.t | 2 +- test/config.t | 2 +- test/continue.t | 2 +- test/delete.t | 2 +- test/dom.t | 2 +- test/export.t | 2 +- test/extensions.t | 2 +- test/fill.t | 2 +- test/gaps.t | 2 +- test/help.t | 2 +- test/ids.t | 2 +- test/join.t | 2 +- test/lengthen.t | 2 +- test/modify.t | 2 +- test/move.t | 2 +- test/quiet.t | 2 +- test/resize.t | 2 +- test/shorten.t | 2 +- test/split.t | 2 +- test/start.t | 2 +- test/stop.t | 2 +- test/summary.t | 2 +- test/tag.t | 2 +- test/tags.t | 2 +- test/template.t | 2 +- test/test_on-modify.timewarrior.t | 3 ++- test/test_totals.t | 2 +- test/track.t | 2 +- test/undo.t | 2 +- test/untag.t | 2 +- test/version.t | 2 +- 35 files changed, 36 insertions(+), 35 deletions(-) diff --git a/test/annotate.t b/test/annotate.t index e08cb6c8..7132ae33 100755 --- a/test/annotate.t +++ b/test/annotate.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/cancel.t b/test/cancel.t index 9d035dc6..20d400f1 100755 --- a/test/cancel.t +++ b/test/cancel.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/chart.t b/test/chart.t index 651bcda6..6c79ab41 100755 --- a/test/chart.t +++ b/test/chart.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/cli.t b/test/cli.t index e7b03813..b9b25d08 100755 --- a/test/cli.t +++ b/test/cli.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/clock.t b/test/clock.t index 389e2d6b..15f87d8c 100755 --- a/test/clock.t +++ b/test/clock.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/config.t b/test/config.t index 20863af6..4733ca86 100755 --- a/test/config.t +++ b/test/config.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/continue.t b/test/continue.t index ea6786c8..0fa71843 100755 --- a/test/continue.t +++ b/test/continue.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/delete.t b/test/delete.t index 1f6cffe1..292518b2 100755 --- a/test/delete.t +++ b/test/delete.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/dom.t b/test/dom.t index dbc3397a..84b75705 100755 --- a/test/dom.t +++ b/test/dom.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/export.t b/test/export.t index 0d178c77..65b81948 100755 --- a/test/export.t +++ b/test/export.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/extensions.t b/test/extensions.t index fec428a8..a4740b96 100755 --- a/test/extensions.t +++ b/test/extensions.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/fill.t b/test/fill.t index c7d86d99..e486970b 100755 --- a/test/fill.t +++ b/test/fill.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/gaps.t b/test/gaps.t index 67f048ff..6f4503e2 100755 --- a/test/gaps.t +++ b/test/gaps.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/help.t b/test/help.t index 1c1e912b..e2d2c7ce 100755 --- a/test/help.t +++ b/test/help.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/ids.t b/test/ids.t index 2f6d7601..40edbd49 100755 --- a/test/ids.t +++ b/test/ids.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/join.t b/test/join.t index a57d8843..96dd9e0e 100755 --- a/test/join.t +++ b/test/join.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/lengthen.t b/test/lengthen.t index 2cd857c8..85241967 100755 --- a/test/lengthen.t +++ b/test/lengthen.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/modify.t b/test/modify.t index 470d3bf3..2264eea9 100755 --- a/test/modify.t +++ b/test/modify.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/move.t b/test/move.t index 7e1072b5..5bbd0a46 100755 --- a/test/move.t +++ b/test/move.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/quiet.t b/test/quiet.t index e8eb7011..cd67635e 100755 --- a/test/quiet.t +++ b/test/quiet.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/resize.t b/test/resize.t index 77884740..39d467e7 100755 --- a/test/resize.t +++ b/test/resize.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/shorten.t b/test/shorten.t index fd89e3ff..387cfcee 100755 --- a/test/shorten.t +++ b/test/shorten.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/split.t b/test/split.t index e0ebb560..78f96195 100755 --- a/test/split.t +++ b/test/split.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/start.t b/test/start.t index d27516c6..4c396e21 100755 --- a/test/start.t +++ b/test/start.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/stop.t b/test/stop.t index 8c19a226..ccd88148 100755 --- a/test/stop.t +++ b/test/stop.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/summary.t b/test/summary.t index 929f6763..72b88408 100755 --- a/test/summary.t +++ b/test/summary.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/tag.t b/test/tag.t index 858013ae..12d84699 100755 --- a/test/tag.t +++ b/test/tag.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/tags.t b/test/tags.t index 98f4b808..4af70baa 100755 --- a/test/tags.t +++ b/test/tags.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/template.t b/test/template.t index c2b0279a..58013f0c 100644 --- a/test/template.t +++ b/test/template.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/test_on-modify.timewarrior.t b/test/test_on-modify.timewarrior.t index 24c9317d..0acf7708 100755 --- a/test/test_on-modify.timewarrior.t +++ b/test/test_on-modify.timewarrior.t @@ -1,4 +1,5 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 + ############################################################################### # # Copyright 2006 - 2018, Thomas Lauf, Paul Beckingham, Federico Hernandez. diff --git a/test/test_totals.t b/test/test_totals.t index 21d70e85..b6e4a572 100755 --- a/test/test_totals.t +++ b/test/test_totals.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/track.t b/test/track.t index 1bd9f1d4..443da8bd 100755 --- a/test/track.t +++ b/test/track.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/undo.t b/test/undo.t index 8211fb64..878b611e 100755 --- a/test/undo.t +++ b/test/undo.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/untag.t b/test/untag.t index 8425da7b..6d5e74eb 100755 --- a/test/untag.t +++ b/test/untag.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### # diff --git a/test/version.t b/test/version.t index a05808e0..3f59aa3b 100755 --- a/test/version.t +++ b/test/version.t @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### #