]> granicus.if.org Git - python/commitdiff
Check the availability of the urlfetch resource earlier than before.
authorCollin Winter <collinw@gmail.com>
Mon, 16 Apr 2007 22:10:32 +0000 (22:10 +0000)
committerCollin Winter <collinw@gmail.com>
Mon, 16 Apr 2007 22:10:32 +0000 (22:10 +0000)
Lib/test/test_normalization.py

index 00e66faf002115a165aa386ba40e46dfab2e1f00..055b403c01561782d18d7c589b3992976e0767e7 100644 (file)
@@ -88,6 +88,8 @@ class NormalizationTest(unittest.TestCase):
 
 
 def test_main():
+    # Hit the exception early
+    open_urlresource(TESTDATAURL)
     run_unittest(NormalizationTest)
 
 if __name__ == "__main__":