aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_test.py')
-rw-r--r--setuptools/tests/test_test.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/setuptools/tests/test_test.py b/setuptools/tests/test_test.py
index 9a8f9313..f527aa24 100644
--- a/setuptools/tests/test_test.py
+++ b/setuptools/tests/test_test.py
@@ -7,7 +7,6 @@ import shutil
import site
import sys
import tempfile
-import unittest
from setuptools.compat import StringIO, PY2
from setuptools.command.test import test
@@ -51,9 +50,9 @@ TEST_PY = DALS("""
""")
-class TestTestTest(unittest.TestCase):
+class TestTestTest:
- def setUp(self):
+ def setup_method(self, method):
if sys.version < "2.6" or hasattr(sys, 'real_prefix'):
return
@@ -90,7 +89,7 @@ class TestTestTest(unittest.TestCase):
self.old_site = site.USER_SITE
site.USER_SITE = tempfile.mkdtemp()
- def tearDown(self):
+ def teardown_method(self, method):
if sys.version < "2.6" or hasattr(sys, 'real_prefix'):
return