Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e4e050

Browse files
committed
Use full package paths in imports.
1 parent 78e30fb commit 9e4e050

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

Lib/email/test/test_email_torture.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,9 @@
1111
import unittest
1212
from cStringIO import StringIO
1313
from types import ListType
14-
from test_email import TestEmailBase
1514

16-
try:
17-
import test_support
18-
TestSkipped = test_support.TestSkipped
19-
except ImportError:
20-
test_support = None
21-
TestSkipped = ImportError
15+
from email.test.test_email import TestEmailBase
16+
from test.test_support import TestSkipped
2217

2318
import email
2419
from email import __file__ as testfile

0 commit comments

Comments
 (0)