Files
cpython/Lib
Collin Winter fa9be8c289 Fix a bug in test.test_support.open_urlresource().
If the call to requires() doesn't precede the filesystem check, we get the following situation:
1. ./python Lib/test/regrtest.py test_foo # test needs urlfetch, not enabled, so skipped
2. ./python Lib/test/regrtest.py -u urlfetch test_foo # test runs
3. ./python Lib/test/regrtest.py test_foo # test runs (!)

By moving the call to requires() *before* the filesystem check, the fact that fetched files are cached on the local disk becomes an implementation detail, rather than a semantics-changing point of note.
2007-05-09 04:14:36 +00:00
..
2007-01-30 03:03:46 +00:00
2006-10-27 17:06:16 +00:00
2007-03-01 06:16:43 +00:00
2007-03-13 21:32:01 +00:00
2006-08-15 00:25:04 +00:00
2007-01-30 03:03:46 +00:00
2007-03-06 18:21:32 +00:00
2007-01-30 03:03:46 +00:00
2007-03-12 18:07:52 +00:00
2007-02-28 18:27:41 +00:00
2007-03-26 20:28:28 +00:00
2007-01-30 03:03:46 +00:00
2007-01-30 03:03:46 +00:00
2007-01-30 03:03:46 +00:00
2007-01-13 00:29:49 +00:00
2007-03-12 18:07:52 +00:00
2006-07-30 16:41:30 +00:00
2007-02-11 18:24:37 +00:00
2006-07-06 13:35:27 +00:00
2007-03-12 18:07:52 +00:00