From: Collin Winter Date: Mon, 16 Apr 2007 22:10:32 +0000 (+0000) Subject: Check the availability of the urlfetch resource earlier than before. X-Git-Tag: v2.6a1~1833 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c20a250170f541f5fbba6ca2bb8d0383f5afc117;p=thirdparty%2FPython%2Fcpython.git Check the availability of the urlfetch resource earlier than before. --- diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py index 00e66faf0021..055b403c0156 100644 --- a/Lib/test/test_normalization.py +++ b/Lib/test/test_normalization.py @@ -88,6 +88,8 @@ class NormalizationTest(unittest.TestCase): def test_main(): + # Hit the exception early + open_urlresource(TESTDATAURL) run_unittest(NormalizationTest) if __name__ == "__main__":