summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-23 13:34:57 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-23 13:34:57 (GMT)
commit5fd90684a98e57fd2422562419d7be4e994862c5 (patch)
treea28c1412f4847de4889bfefa8d4cffe79b0cedc3 /Lib
parent2ad816f47ef5dffebb373c9dd980fcd61f4473a3 (diff)
downloadcpython-5fd90684a98e57fd2422562419d7be4e994862c5.zip
cpython-5fd90684a98e57fd2422562419d7be4e994862c5.tar.gz
cpython-5fd90684a98e57fd2422562419d7be4e994862c5.tar.bz2
Run the self-test (test.test_MimeWriter) when invoked as a script.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/MimeWriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/MimeWriter.py b/Lib/MimeWriter.py
index 0f8b990..754576b 100644
--- a/Lib/MimeWriter.py
+++ b/Lib/MimeWriter.py
@@ -125,4 +125,4 @@ class MimeWriter:
if __name__ == '__main__':
- print "To test the MimeWriter module, run TestMimeWriter.py."
+ import test.test_MimeWriter