Skip to content

Commit

Permalink
Remove obsolete from __future__ imports
Browse files Browse the repository at this point in the history
  • Loading branch information
afh authored and tbm committed Feb 1, 2023
1 parent adf9d22 commit c94fccc
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions python/demo.py
@@ -1,7 +1,5 @@
#!/usr/bin/env python

from __future__ import print_function

import sys
from datetime import datetime

Expand Down
2 changes: 0 additions & 2 deletions 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
Expand Down
2 changes: 0 additions & 2 deletions 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
Expand Down
2 changes: 0 additions & 2 deletions 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
Expand Down
2 changes: 0 additions & 2 deletions 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
Expand Down
2 changes: 0 additions & 2 deletions 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.

Expand Down
1 change: 0 additions & 1 deletion 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
Expand Down
2 changes: 0 additions & 2 deletions test/GenerateTests.py
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions 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
Expand Down
1 change: 0 additions & 1 deletion 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
Expand Down
1 change: 0 additions & 1 deletion test/baseline/feat-value_py2.test
@@ -1,5 +1,4 @@
python
from __future__ import print_function
def print_type(val):
print(type(val), val)

Expand Down
1 change: 0 additions & 1 deletion test/baseline/feat-value_py3.test
@@ -1,5 +1,4 @@
python
from __future__ import print_function
def print_type(val):
print(type(val), val)

Expand Down
2 changes: 0 additions & 2 deletions 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:"):
Expand Down
2 changes: 0 additions & 2 deletions test/regress/78AB4B87.py
@@ -1,5 +1,3 @@
from __future__ import print_function

import ledger

eur = ledger.commodities.find_or_create('EUR')
Expand Down
2 changes: 0 additions & 2 deletions test/regress/9188F587.py
@@ -1,5 +1,3 @@
from __future__ import print_function

import ledger

eur = ledger.commodities.find_or_create('EUR')
Expand Down
2 changes: 0 additions & 2 deletions 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

Expand Down
2 changes: 0 additions & 2 deletions 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'):
Expand Down

0 comments on commit c94fccc

Please sign in to comment.