diff options
author | Skip Montanaro <skip@pobox.com> | 2007-08-17 02:30:27 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-08-17 02:30:27 (GMT) |
commit | 289bc05709f48d7140ac2c36cafdb55c746be9df (patch) | |
tree | 3438e83ff9211a6c9b5dc8c22fa9f22ed2499f12 /Lib/test/test_urllib2.py | |
parent | ceaafa66ef9ab5e1129258345037cae39164c6cb (diff) | |
download | cpython-289bc05709f48d7140ac2c36cafdb55c746be9df.zip cpython-289bc05709f48d7140ac2c36cafdb55c746be9df.tar.gz cpython-289bc05709f48d7140ac2c36cafdb55c746be9df.tar.bz2 |
some RiscOS stuff I missed before (was only looking for "RISCOS")
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r-- | Lib/test/test_urllib2.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 91d6ba7..dff840e 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -26,10 +26,6 @@ class TrivialTests(unittest.TestCase): # urllib.pathname2url works, unfortunately... if os.name == 'mac': fname = '/' + fname.replace(':', '/') - elif os.name == 'riscos': - import string - fname = os.expand(fname) - fname = fname.translate(string.maketrans("/.", "./")) file_url = "file://%s" % fname f = urllib2.urlopen(file_url) |