Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_support.py @ 42622:4d2aa4bfb2d6
Remove RISCOS support
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Thu, 16 Aug 2007 14:35:24 +0000 |
| parents | 0d81a656412a |
| children | a6c48925de53 |
line wrap: on
line diff
--- a/Lib/test/test_support.py Thu Aug 16 08:08:41 2007 +0000 +++ b/Lib/test/test_support.py Thu Aug 16 14:35:24 2007 +0000 @@ -70,11 +70,11 @@ deleting any .pyc and .pyo files.''' unload(modname) for dirname in sys.path: - unlink(os.path.join(dirname, modname + os.extsep + 'pyc')) + unlink(os.path.join(dirname, modname + '.pyc')) # Deleting the .pyo file cannot be within the 'try' for the .pyc since # the chance exists that there is no .pyc (and thus the 'try' statement # is exited) but there is a .pyo file. - unlink(os.path.join(dirname, modname + os.extsep + 'pyo')) + unlink(os.path.join(dirname, modname + '.pyo')) def is_resource_enabled(resource): """Test whether a resource is enabled. Known resources are set by
