Refs #23919 -- Removed misc references to Python 2.

This commit is contained in:
Tim Graham 2017-01-21 20:02:00 -05:00 committed by GitHub
parent c22212220a
commit d170c63351
34 changed files with 40 additions and 167 deletions

View file

@ -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