some RiscOS stuff I missed before (was only looking for "RISCOS")

This commit is contained in:
Skip Montanaro 2007-08-17 02:30:27 +00:00
parent ceaafa66ef
commit 289bc05709
15 changed files with 57 additions and 117 deletions

View file

@ -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)