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

Skip to content

Commit 5fd9068

Browse files
committed
Run the self-test (test.test_MimeWriter) when invoked as a script.
1 parent 2ad816f commit 5fd9068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/MimeWriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ def lastpart(self):
125125

126126

127127
if __name__ == '__main__':
128-
print "To test the MimeWriter module, run TestMimeWriter.py."
128+
import test.test_MimeWriter

0 commit comments

Comments
 (0)