diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-01 20:23:18 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-01 20:23:18 (GMT) |
commit | 722d78f18ace538417b749412cd47545cbc61b3f (patch) | |
tree | 87182ccd7139af3bb83e933ef64c430fd5899518 /Lib/test | |
parent | 66e1a254a19c0c95216d54e64c5c2171e5880ed9 (diff) | |
download | cpython-722d78f18ace538417b749412cd47545cbc61b3f.zip cpython-722d78f18ace538417b749412cd47545cbc61b3f.tar.gz cpython-722d78f18ace538417b749412cd47545cbc61b3f.tar.bz2 |
s/endswith/startswith/
Diffstat (limited to 'Lib/test')
-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" |