From d170c63351944fd91b2206d10f89e7ff75b53b76 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 21 Jan 2017 20:02:00 -0500 Subject: Refs #23919 -- Removed misc references to Python 2. --- tests/admin_scripts/tests.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/admin_scripts') diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 8494d76f4c..c8f5d2a20d 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -101,9 +101,6 @@ class AdminScriptTestCase(unittest.TestCase): if sys.platform.startswith('java'): # Jython produces module$py.class files os.remove(re.sub(r'\.py$', '$py.class', full_name)) - else: - # CPython produces module.pyc files - os.remove(full_name + 'c') except OSError: pass # Also remove a __pycache__ directory, if it exists -- cgit v1.3