summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Delong <konryd@gmail.com>2010-08-14 22:33:51 +0200
committerKonrad Delong <konryd@gmail.com>2010-08-14 22:33:51 +0200
commit5f0cc3d375bc625f4143ff4d3295f894fb0e6c80 (patch)
tree3660f79fc75c4856612ebb011e50baddfeda9cf6
parent447ef0d6e909ebae0d1574517a4fc8d56a4a4905 (diff)
downloaddisutils2-5f0cc3d375bc625f4143ff4d3295f894fb0e6c80.tar.gz
removed leftover code
-rw-r--r--src/distutils2/tests/test_test.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/distutils2/tests/test_test.py b/src/distutils2/tests/test_test.py
index f82c2fa..6d875e1 100644
--- a/src/distutils2/tests/test_test.py
+++ b/src/distutils2/tests/test_test.py
@@ -151,16 +151,6 @@ class TestTest(TempdirManager,
finally:
sys.path.remove(tmp_dir)
- def _test_gets_unittest_discovery(self):
- import unittest as ut1
-
- orig_discover = getattr(ut1.TestLoader, 'discover', None)
- try:
- self._test_gets_unittest_discovery(ut1)
- finally:
- if orig_discover is not None:
- ut1.TestLoader.discover = orig_discover
-
@with_ut_isolated
@with_mock_ut2_module
def test_gets_unittest_discovery(self, ut1, mock_ut2):