Kaydet (Commit) cfdd0161 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

Invoke test_urllibnet tests using unittest.main function

üst fe0e1082
......@@ -10,6 +10,8 @@ import email.message
import time
support.requires('network')
class URLTimeoutTest(unittest.TestCase):
# XXX this test doesn't seem to test anything useful.
......@@ -206,11 +208,5 @@ class urlretrieveNetworkTests(unittest.TestCase):
" >= total size in %s" % records_repr)
def test_main():
support.requires('network')
support.run_unittest(URLTimeoutTest,
urlopenNetworkTests,
urlretrieveNetworkTests)
if __name__ == "__main__":
test_main()
unittest.main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment