summaryrefslogtreecommitdiff
path: root/Lib/test/test_copy.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_copy.py')
-rw-r--r--Lib/test/test_copy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_copy.py b/Lib/test/test_copy.py
index cde545d24d..0e39e8356d 100644
--- a/Lib/test/test_copy.py
+++ b/Lib/test/test_copy.py
@@ -516,9 +516,7 @@ class TestCopy(unittest.TestCase):
self.assert_(x[0] is not y[0])
def test_main():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestCopy))
- test_support.run_suite(suite)
+ test_support.run_unittest(TestCopy)
if __name__ == "__main__":
test_main()