Skip to content

Commit

Permalink
MAINT: Remove Python 2 'from __future__' imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
WarrenWeckesser committed Nov 9, 2023
1 parent 1b6da37 commit 7c187dd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions numpngw.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
POSSIBILITY OF SUCH DAMAGE.
"""

from __future__ import (division as _division,
print_function as _print_function)

import sys as _sys
import contextlib as _contextlib
from io import BytesIO as _BytesIO
Expand Down
2 changes: 0 additions & 2 deletions pngscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
in the file to stdout. It is used for testing and debugging.
"""

from __future__ import print_function, division

import struct
import zlib

Expand Down
1 change: 0 additions & 1 deletion tests/test_utilities.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import division, print_function

import unittest
import numpy as np
Expand Down
2 changes: 0 additions & 2 deletions tests/test_write_png.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, print_function

import unittest
import io
import struct
Expand Down

0 comments on commit 7c187dd

Please sign in to comment.