summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-04-16 22:10:32 (GMT)
committerCollin Winter <collinw@gmail.com>2007-04-16 22:10:32 (GMT)
commitc20a250170f541f5fbba6ca2bb8d0383f5afc117 (patch)
tree922d34264d3c79c243488d2bc2451cd711f6c10a
parent68cdf8a6da89c22f333444bbd76a73113bdcfa20 (diff)
downloadcpython-c20a250170f541f5fbba6ca2bb8d0383f5afc117.zip
cpython-c20a250170f541f5fbba6ca2bb8d0383f5afc117.tar.gz
cpython-c20a250170f541f5fbba6ca2bb8d0383f5afc117.tar.bz2
Check the availability of the urlfetch resource earlier than before.
-rw-r--r--Lib/test/test_normalization.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py
index 00e66fa..055b403 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__":