From: Raymond Hettinger Date: Thu, 14 May 2009 16:13:36 +0000 (+0000) Subject: Exercise the doctests. X-Git-Tag: v3.1rc1~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbe3449f22677c8b63ba3df8136a7a9390eebcdc;p=thirdparty%2FPython%2Fcpython.git Exercise the doctests. --- diff --git a/Lib/test/test_ipaddr.py b/Lib/test/test_ipaddr.py index afa8da36de5a..d117154a7e62 100755 --- a/Lib/test/test_ipaddr.py +++ b/Lib/test/test_ipaddr.py @@ -19,7 +19,7 @@ import unittest - +from test import support import ipaddr @@ -569,4 +569,5 @@ class IpaddrUnitTest(unittest.TestCase): if __name__ == '__main__': - unittest.main() + support.run_unittest(IpaddrUnitTest) + support.run_doctest(ipaddr, True)