summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_manifest.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_manifest.py
parent7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff)
downloadpython-setuptools-git-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/tests/test_manifest.py')
-rw-r--r--setuptools/tests/test_manifest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/tests/test_manifest.py b/setuptools/tests/test_manifest.py
index 65eec7d9..c9533dda 100644
--- a/setuptools/tests/test_manifest.py
+++ b/setuptools/tests/test_manifest.py
@@ -18,6 +18,8 @@ from setuptools.tests.textwrap import DALS
import pytest
+__metaclass__ = type
+
py3_only = pytest.mark.xfail(six.PY2, reason="Test runs on Python 3 only")
@@ -157,7 +159,7 @@ def test_translated_pattern_mismatch(pattern_mismatch):
assert not translate_pattern(pattern).match(target)
-class TempDirTestCase(object):
+class TempDirTestCase:
def setup_method(self, method):
self.temp_dir = tempfile.mkdtemp()
self.old_cwd = os.getcwd()