mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #23919 -- Removed misc references to Python 2.
This commit is contained in:
parent
c22212220a
commit
d170c63351
34 changed files with 40 additions and 167 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue