summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-08-17 02:30:27 (GMT)
committerSkip Montanaro <skip@pobox.com>2007-08-17 02:30:27 (GMT)
commit289bc05709f48d7140ac2c36cafdb55c746be9df (patch)
tree3438e83ff9211a6c9b5dc8c22fa9f22ed2499f12 /Lib/test/test_urllib2.py
parentceaafa66ef9ab5e1129258345037cae39164c6cb (diff)
downloadcpython-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.py4
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)