mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed misc references to Python 2.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user