From a8f7e5976126c4d0a3acef512e75a87b560ac2ec Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 13 Mar 2001 09:31:07 +0000 Subject: [PATCH] Oops. A RISCOS patch I forgot to check in. --- Lib/test/test_support.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index d77120e015b..34b1809d05a 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__):