summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-13 09:31:07 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-13 09:31:07 (GMT)
commita8f7e5976126c4d0a3acef512e75a87b560ac2ec (patch)
treee0d410d56d51bfb9782e78a63a0411d71eac5e93 /Lib
parent5b44a67bdb67545679a2e1bfcf482996f8d8abb5 (diff)
downloadcpython-a8f7e5976126c4d0a3acef512e75a87b560ac2ec.zip
cpython-a8f7e5976126c4d0a3acef512e75a87b560ac2ec.tar.gz
cpython-a8f7e5976126c4d0a3acef512e75a87b560ac2ec.tar.bz2
Oops. A RISCOS patch I forgot to check in.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_support.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index d77120e..34b1809 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -55,7 +55,13 @@ def fcmp(x, y): # fuzzy comparison function
return cmp(len(x), len(y))
return cmp(x, y)
-TESTFN = '@test' # Filename used for testing
+import os
+if os.name !='riscos':
+ TESTFN = '@test' # Filename used for testing
+else:
+ TESTFN = 'test' # Filename used for testing
+del os
+
from os import unlink
def findfile(file, here=__file__):