From 5fd90684a98e57fd2422562419d7be4e994862c5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 23 Apr 1998 13:34:57 +0000 Subject: Run the self-test (test.test_MimeWriter) when invoked as a script. --- Lib/MimeWriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12