]> granicus.if.org Git - python/commitdiff
Add missing import when running these tests standalone.
authorGeorg Brandl <georg@python.org>
Sat, 6 Feb 2010 23:54:04 +0000 (23:54 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 6 Feb 2010 23:54:04 +0000 (23:54 +0000)
Lib/email/test/test_email_torture.py

index 3ec4c6653b54f7cba8003f2cac54e88b0a840245..9dfa6028811e1006f53ee63ea7c7a500067ae601 100644 (file)
@@ -13,7 +13,7 @@ from cStringIO import StringIO
 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 suite():
 
 def test_main():
     for testclass in _testclasses():
-        test_support.run_unittest(testclass)
+        run_unittest(testclass)
 
 
 \f