diff --git a/ddt.py b/ddt.py index 4fb1939..d2e0c7d 100644 --- a/ddt.py +++ b/ddt.py @@ -20,14 +20,10 @@ else: _have_yaml = True -try: - # Python >=3 - from collections.abc import Sequence -except ImportError: - # Python 2.7 - from collections import Sequence +from collections.abc import Sequence + -__version__ = '1.7.0' +__version__ = '1.7.1' # These attributes will not conflict with any real python attribute # They are added to the decorated test method and processed later diff --git a/setup.py b/setup.py index e2e8d88..48c028f 100644 --- a/setup.py +++ b/setup.py @@ -19,8 +19,6 @@ 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', @@ -29,6 +27,4 @@ 'Programming Language :: Python :: 3.10', 'Topic :: Software Development :: Testing', ], - setup_requires=['enum34; python_version < "3"'], - install_requires=['enum34; python_version < "3"'], )