diff --git a/scour/scour.py b/scour/scour.py index 387f1ed..5bb4ee1 100644 --- a/scour/scour.py +++ b/scour/scour.py @@ -44,9 +44,6 @@ # - if a has only one element in it, collapse the (ensure transform, etc are carried down) -from __future__ import division # use "true" division instead of integer division in Python 2 (see PEP 238) -from __future__ import print_function # use print() as a function in Python 2 (see PEP 3105) -from __future__ import absolute_import # use absolute imports by default in Python 2 (see PEP 328) import math import optparse diff --git a/scour/svg_regex.py b/scour/svg_regex.py index c62ba2a..f91063c 100644 --- a/scour/svg_regex.py +++ b/scour/svg_regex.py @@ -41,7 +41,6 @@ Out[4]: [('M', [(0.60509999999999997, 0.5)])] In [5]: svg_parser.parse('M 100-200') # Another edge case Out[5]: [('M', [(100.0, -200.0)])] """ -from __future__ import absolute_import import re from decimal import Decimal, getcontext diff --git a/scour/svg_transform.py b/scour/svg_transform.py index fc3b5ff..769c48c 100644 --- a/scour/svg_transform.py +++ b/scour/svg_transform.py @@ -55,7 +55,6 @@ Multiple transformations are supported: In [12]: svg_transform_parser.parse('translate(30 -30) rotate(36)') Out[12]: [('translate', [30.0, -30.0]), ('rotate', [36.0])] """ -from __future__ import absolute_import import re from decimal import Decimal diff --git a/test_css.py b/test_css.py index 7b136ce..5525ba4 100755 --- a/test_css.py +++ b/test_css.py @@ -18,7 +18,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import import unittest diff --git a/test_scour.py b/test_scour.py index 8e0ad73..f4f3bda 100755 --- a/test_scour.py +++ b/test_scour.py @@ -19,8 +19,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function # use print() as a function in Python 2 (see PEP 3105) -from __future__ import absolute_import # use absolute imports by default in Python 2 (see PEP 328) import os import sys