aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-06-03 09:50:25 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-06-03 09:50:25 -0400
commitcca86c7f1d4040834c3265ccecdd9e21b4036df5 (patch)
tree6952f93a45a95659d36a93072e915688ca253a85 /setuptools/tests/test_easy_install.py
parent7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff)
downloadexternal_python_setuptools-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz
external_python_setuptools-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.bz2
external_python_setuptools-cca86c7f1d4040834c3265ccecdd9e21b4036df5.zip
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 3fc7fdaf..345d283c 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -36,8 +36,10 @@ import pkg_resources
from . import contexts
from .textwrap import DALS
+__metaclass__ = type
-class FakeDist(object):
+
+class FakeDist:
def get_entry_map(self, group):
if group != 'console_scripts':
return {}