diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-11 20:46:46 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-11 20:46:46 (GMT) |
commit | 896c1ea15e9ec67fd1b33998ba8daaf17528ba31 (patch) | |
tree | 013db37024596bfc3185280325cb9ac9d9f03070 /Lib | |
parent | f054aeb2a1dadc752901f94852bea6242dec52bb (diff) | |
download | cpython-896c1ea15e9ec67fd1b33998ba8daaf17528ba31.zip cpython-896c1ea15e9ec67fd1b33998ba8daaf17528ba31.tar.gz cpython-896c1ea15e9ec67fd1b33998ba8daaf17528ba31.tar.bz2 |
Fix test on PPC64 buildbot. It raised an IOError (really an URLError which
derives from an IOError). That seems valid. Env Error includes both OSError
and IOError, so this seems like a reasonable fix.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_urllib2net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2net.py b/Lib/test/test_urllib2net.py index 03b883b..00cf202 100644 --- a/Lib/test/test_urllib2net.py +++ b/Lib/test/test_urllib2net.py @@ -176,7 +176,7 @@ class OtherNetworkTests(unittest.TestCase): # XXX bug, should raise URLError #('file://nonsensename/etc/passwd', None, urllib2.URLError) - ('file://nonsensename/etc/passwd', None, (OSError, socket.error)) + ('file://nonsensename/etc/passwd', None, (EnvironmentError, socket.error)) ] self._test_urls(urls, self._extra_handlers()) finally: |