diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-06-03 09:50:25 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-06-03 09:50:25 -0400 |
commit | cca86c7f1d4040834c3265ccecdd9e21b4036df5 (patch) | |
tree | 6952f93a45a95659d36a93072e915688ca253a85 /setuptools/tests/test_wheel.py | |
parent | 7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff) | |
download | python-setuptools-git-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz |
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/tests/test_wheel.py')
-rw-r--r-- | setuptools/tests/test_wheel.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/tests/test_wheel.py b/setuptools/tests/test_wheel.py index cf650868..6db5fa11 100644 --- a/setuptools/tests/test_wheel.py +++ b/setuptools/tests/test_wheel.py @@ -24,6 +24,8 @@ from .contexts import tempdir from .files import build_files from .textwrap import DALS +__metaclass__ = type + WHEEL_INFO_TESTS = ( ('invalid.whl', ValueError), @@ -148,7 +150,7 @@ def _check_wheel_install(filename, install_dir, install_tree_includes, assert requires_txt == dist.get_metadata('requires.txt').lstrip() -class Record(object): +class Record: def __init__(self, id, **kwargs): self._id = id |