From dbe3449f22677c8b63ba3df8136a7a9390eebcdc Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 14 May 2009 16:13:36 +0000 Subject: Exercise the doctests. --- Lib/test/test_ipaddr.py | 5 +++-- 1 file 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) -- cgit v0.12