From c94fccc2b825781e904a67e4bec6b99b427d8abd Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 5 Jul 2022 08:59:34 +0200 Subject: Remove obsolete from __future__ imports --- test/CheckBaselineTests.py | 2 -- test/CheckManpage.py | 2 -- test/CheckOptions.py | 2 -- test/CheckTexinfo.py | 2 -- test/ConfirmTests.py | 2 -- test/DocTests.py | 1 - test/GenerateTests.py | 2 -- test/LedgerHarness.py | 2 -- test/RegressTests.py | 1 - test/baseline/feat-value_py2.test | 1 - test/baseline/feat-value_py3.test | 1 - test/regress/4D9288AE.py | 2 -- test/regress/78AB4B87.py | 2 -- test/regress/9188F587.py | 2 -- test/regress/B21BF389.py | 2 -- test/regress/xact_code.py | 2 -- 16 files changed, 28 deletions(-) (limited to 'test') diff --git a/test/CheckBaselineTests.py b/test/CheckBaselineTests.py index f53c59a2..fa9fa2bc 100755 --- a/test/CheckBaselineTests.py +++ b/test/CheckBaselineTests.py @@ -1,8 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function - import sys import re import os diff --git a/test/CheckManpage.py b/test/CheckManpage.py index 944f4e07..3da9d872 100755 --- a/test/CheckManpage.py +++ b/test/CheckManpage.py @@ -1,8 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function - import sys import re import os diff --git a/test/CheckOptions.py b/test/CheckOptions.py index bb0b3731..3f08fb0d 100755 --- a/test/CheckOptions.py +++ b/test/CheckOptions.py @@ -1,8 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function - import re import os import sys diff --git a/test/CheckTexinfo.py b/test/CheckTexinfo.py index cd167eba..fa709e1b 100755 --- a/test/CheckTexinfo.py +++ b/test/CheckTexinfo.py @@ -1,8 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function - import sys import re import os diff --git a/test/ConfirmTests.py b/test/ConfirmTests.py index 2ecefa01..e82479ed 100755 --- a/test/ConfirmTests.py +++ b/test/ConfirmTests.py @@ -1,7 +1,5 @@ #!/usr/bin/python -from __future__ import print_function - # This script confirms both that the register report "adds up", and that its # final balance is the same as what the balance report shows. diff --git a/test/DocTests.py b/test/DocTests.py index a63ac0d3..daecdd90 100755 --- a/test/DocTests.py +++ b/test/DocTests.py @@ -1,7 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function, unicode_literals from io import open import os diff --git a/test/GenerateTests.py b/test/GenerateTests.py index d5851821..2b966e35 100755 --- a/test/GenerateTests.py +++ b/test/GenerateTests.py @@ -3,8 +3,6 @@ # This script confirms both that the register report "adds up", and that its # final balance is the same as what the balance report shows. -from __future__ import print_function - import sys import re diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py index a23812f0..5051fc8b 100755 --- a/test/LedgerHarness.py +++ b/test/LedgerHarness.py @@ -1,8 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function, unicode_literals - import sys import os import re diff --git a/test/RegressTests.py b/test/RegressTests.py index 2aefd80a..849c4137 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -1,7 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function, unicode_literals from io import open import sys diff --git a/test/baseline/feat-value_py2.test b/test/baseline/feat-value_py2.test index 2f351d2a..4378c91a 100644 --- a/test/baseline/feat-value_py2.test +++ b/test/baseline/feat-value_py2.test @@ -1,5 +1,4 @@ python - from __future__ import print_function def print_type(val): print(type(val), val) diff --git a/test/baseline/feat-value_py3.test b/test/baseline/feat-value_py3.test index be7612e1..f82fbf2b 100644 --- a/test/baseline/feat-value_py3.test +++ b/test/baseline/feat-value_py3.test @@ -1,5 +1,4 @@ python - from __future__ import print_function def print_type(val): print(type(val), val) diff --git a/test/regress/4D9288AE.py b/test/regress/4D9288AE.py index 20ba566b..09f7d40b 100644 --- a/test/regress/4D9288AE.py +++ b/test/regress/4D9288AE.py @@ -1,5 +1,3 @@ -from __future__ import print_function - import ledger for post in ledger.read_journal("test/regress/4D9288AE.dat").query("^expenses:"): diff --git a/test/regress/78AB4B87.py b/test/regress/78AB4B87.py index affc3496..a62f0271 100644 --- a/test/regress/78AB4B87.py +++ b/test/regress/78AB4B87.py @@ -1,5 +1,3 @@ -from __future__ import print_function - import ledger eur = ledger.commodities.find_or_create('EUR') diff --git a/test/regress/9188F587.py b/test/regress/9188F587.py index 9095d58c..f9e8a036 100644 --- a/test/regress/9188F587.py +++ b/test/regress/9188F587.py @@ -1,5 +1,3 @@ -from __future__ import print_function - import ledger eur = ledger.commodities.find_or_create('EUR') diff --git a/test/regress/B21BF389.py b/test/regress/B21BF389.py index a49c498c..11208e91 100644 --- a/test/regress/B21BF389.py +++ b/test/regress/B21BF389.py @@ -1,8 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from __future__ import print_function, unicode_literals - import sys import ledger diff --git a/test/regress/xact_code.py b/test/regress/xact_code.py index a697e156..19664df2 100644 --- a/test/regress/xact_code.py +++ b/test/regress/xact_code.py @@ -1,5 +1,3 @@ -from __future__ import print_function - import ledger for post in ledger.read_journal('test/regress/xact_code.dat').query('expenses'): -- cgit v1.2.3