diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 (GMT) |
commit | a94568a7535de60f1144e4eea0d027b87017a4b4 (patch) | |
tree | 5a8f696ca440a296b18521be17920b48f2021e4c /Lib/test/test_import.py | |
parent | 5467d4c0e31e9db305a4899a44d7978f83e96649 (diff) | |
download | cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.zip cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.gz cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.bz2 |
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r-- | Lib/test/test_import.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index f946445..cc424af 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -78,7 +78,7 @@ os = imp.load_module("os", *x) def test_module_with_large_stack(module): # create module w/list of 65000 elements to test bug #561858 - filename = module + '.py' + filename = module + os.extsep + 'py' # create a file with a list of 65000 elements f = open(filename, 'w+') @@ -102,8 +102,8 @@ def test_module_with_large_stack(module): # cleanup del sys.path[-1] - for ext in '.pyc', '.pyo': - fname = module + ext + for ext in 'pyc', 'pyo': + fname = module + os.extsep + ext if os.path.exists(fname): os.unlink(fname) |