]> granicus.if.org Git - python/commitdiff
Oops. A RISCOS patch I forgot to check in.
authorGuido van Rossum <guido@python.org>
Tue, 13 Mar 2001 09:31:07 +0000 (09:31 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 13 Mar 2001 09:31:07 +0000 (09:31 +0000)
Lib/test/test_support.py

index d77120e015b756ab9e3dd37a9b108e1c61a5b0a4..34b1809d05ad4210d45221330104a4c3739e5ffd 100644 (file)
@@ -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__):