From 722d78f18ace538417b749412cd47545cbc61b3f Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 1 Aug 2001 20:23:18 +0000 Subject: s/endswith/startswith/ --- Lib/test/test_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v0.12