diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-02 12:01:57 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-02 12:01:57 -0500 |
commit | 14beff81f0f4369a3323a84f49d53747a38bccfd (patch) | |
tree | 4b3ae0739d76489bbc762ef9b3df06f887d3843d /setuptools/tests/test_test.py | |
parent | a974f8c7b1b30bdb462531627a39255a0b82fdff (diff) | |
download | external_python_setuptools-14beff81f0f4369a3323a84f49d53747a38bccfd.tar.gz external_python_setuptools-14beff81f0f4369a3323a84f49d53747a38bccfd.tar.bz2 external_python_setuptools-14beff81f0f4369a3323a84f49d53747a38bccfd.zip |
Port test_test to pytest
Diffstat (limited to 'setuptools/tests/test_test.py')
-rw-r--r-- | setuptools/tests/test_test.py | 7 |
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 |