summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-05-14 16:13:36 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-05-14 16:13:36 (GMT)
commitdbe3449f22677c8b63ba3df8136a7a9390eebcdc (patch)
tree183d8daf180d99028144b178427a049d5defb668 /Lib/test
parent168e2fcdcf416559ceb61a224df761762fa62fd8 (diff)
downloadcpython-dbe3449f22677c8b63ba3df8136a7a9390eebcdc.zip
cpython-dbe3449f22677c8b63ba3df8136a7a9390eebcdc.tar.gz
cpython-dbe3449f22677c8b63ba3df8136a7a9390eebcdc.tar.bz2
Exercise the doctests.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/test_ipaddr.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_ipaddr.py b/Lib/test/test_ipaddr.py
index afa8da3..d117154 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)