diff options
author | Raymond Hettinger <python@rcn.com> | 2009-05-14 16:13:36 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-05-14 16:13:36 (GMT) |
commit | dbe3449f22677c8b63ba3df8136a7a9390eebcdc (patch) | |
tree | 183d8daf180d99028144b178427a049d5defb668 /Lib/test | |
parent | 168e2fcdcf416559ceb61a224df761762fa62fd8 (diff) | |
download | cpython-dbe3449f22677c8b63ba3df8136a7a9390eebcdc.zip cpython-dbe3449f22677c8b63ba3df8136a7a9390eebcdc.tar.gz cpython-dbe3449f22677c8b63ba3df8136a7a9390eebcdc.tar.bz2 |
Exercise the doctests.
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/test_ipaddr.py | 5 |
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) |