diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
| commit | 94f25283c9b6cb43791e23618b9bec0cc961a7cb (patch) | |
| tree | c32622183a1e7020de5afb458288be48449a60a6 /Lib/test/test_urllib2.py | |
| parent | a045f191b4670bbf201d6d56a50886694c26da3e (diff) | |
| download | cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.zip cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.gz cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.bz2 | |
Remove traces of MacOS9 support.
Fix for issue #7908
Diffstat (limited to 'Lib/test/test_urllib2.py')
| -rw-r--r-- | Lib/test/test_urllib2.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 11848e0..1a8ffac 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -22,11 +22,6 @@ class TrivialTests(unittest.TestCase): # XXX Name hacking to get this to work on Windows. fname = os.path.abspath(urllib.request.__file__).replace('\\', '/') - # And more hacking to get it to work on MacOS. This assumes - # urllib.pathname2url works, unfortunately... - if os.name == 'mac': - fname = '/' + fname.replace(':', '/') - if os.name == 'nt': file_url = "file:///%s" % fname else: |
