diff options
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r-- | Lib/test/test_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 0f9841c..d053609 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -20,7 +20,7 @@ sys.path.insert(0, os.curdir) source = TESTFN + ".py" pyo = TESTFN + ".pyo" -if sys.platform.endswith('java'): +if sys.platform.startswith('java'): pyc = TESTFN + "$py.class" else: pyc = TESTFN + ".pyc" |