summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)