[Python-checkins] r78052 - python/trunk/Lib/email/test/test_email_torture.py
georg.brandl
python-checkins at python.org
Sun Feb 7 00:54:04 CET 2010
Author: georg.brandl
Date: Sun Feb 7 00:54:04 2010
New Revision: 78052
Log:
Add missing import when running these tests standalone.
Modified:
python/trunk/Lib/email/test/test_email_torture.py
Modified: python/trunk/Lib/email/test/test_email_torture.py
==============================================================================
--- python/trunk/Lib/email/test/test_email_torture.py (original)
+++ python/trunk/Lib/email/test/test_email_torture.py Sun Feb 7 00:54:04 2010
@@ -13,7 +13,7 @@
from types import ListType
from email.test.test_email import TestEmailBase
-from test.test_support import TestSkipped
+from test.test_support import TestSkipped, run_unittest
import email
from email import __file__ as testfile
@@ -128,7 +128,7 @@
def test_main():
for testclass in _testclasses():
- test_support.run_unittest(testclass)
+ run_unittest(testclass)
More information about the Python-checkins
mailing list