summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email_renamed.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-04-25 17:29:52 (GMT)
committerCollin Winter <collinw@gmail.com>2007-04-25 17:29:52 (GMT)
commitc2898c5a678e6dd00c3e0b18a214fcd7a3533800 (patch)
treedfaedbddee7b0ef79a19527788b8a720658e79bb /Lib/test/test_email_renamed.py
parent0d4c06e06e5ee1f3bb1fa8068114bd700d74864a (diff)
downloadcpython-c2898c5a678e6dd00c3e0b18a214fcd7a3533800.zip
cpython-c2898c5a678e6dd00c3e0b18a214fcd7a3533800.tar.gz
cpython-c2898c5a678e6dd00c3e0b18a214fcd7a3533800.tar.bz2
Standardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().
Diffstat (limited to 'Lib/test/test_email_renamed.py')
-rw-r--r--Lib/test/test_email_renamed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_email_renamed.py b/Lib/test/test_email_renamed.py
index c3af598..163e791 100644
--- a/Lib/test/test_email_renamed.py
+++ b/Lib/test/test_email_renamed.py
@@ -4,10 +4,10 @@
import unittest
# The specific tests now live in Lib/email/test
from email.test.test_email_renamed import suite
-from test.test_support import run_suite
+from test import test_support
def test_main():
- run_suite(suite())
+ test_support.run_unittest(suite())
if __name__ == '__main__':
test_main()