summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2022-07-05 08:59:34 +0200
committerMartin Michlmayr <tbm@cyrius.com>2023-02-01 09:31:17 +0800
commitc94fccc2b825781e904a67e4bec6b99b427d8abd (patch)
tree3bd840bff2542257969223798d5bd588fdd44036 /test
parentadf9d22de4d5c422dcaeca022ea53880f7264be6 (diff)
downloadfork-ledger-c94fccc2b825781e904a67e4bec6b99b427d8abd.tar.gz
fork-ledger-c94fccc2b825781e904a67e4bec6b99b427d8abd.tar.bz2
fork-ledger-c94fccc2b825781e904a67e4bec6b99b427d8abd.zip
Remove obsolete from __future__ imports
Diffstat (limited to 'test')
-rwxr-xr-xtest/CheckBaselineTests.py2
-rwxr-xr-xtest/CheckManpage.py2
-rwxr-xr-xtest/CheckOptions.py2
-rwxr-xr-xtest/CheckTexinfo.py2
-rwxr-xr-xtest/ConfirmTests.py2
-rwxr-xr-xtest/DocTests.py1
-rwxr-xr-xtest/GenerateTests.py2
-rwxr-xr-xtest/LedgerHarness.py2
-rwxr-xr-xtest/RegressTests.py1
-rw-r--r--test/baseline/feat-value_py2.test1
-rw-r--r--test/baseline/feat-value_py3.test1
-rw-r--r--test/regress/4D9288AE.py2
-rw-r--r--test/regress/78AB4B87.py2
-rw-r--r--test/regress/9188F587.py2
-rw-r--r--test/regress/B21BF389.py2
-rw-r--r--test/regress/xact_code.py2
16 files changed, 0 insertions, 28 deletions
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'):