diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-28 09:39:19 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-09-28 09:39:19 -0400 |
commit | 7881636a45a68127284c924a2dc7beff1ad7f3f9 (patch) | |
tree | b6a62caf053840b8d4c3d5065e603e7f4e3d3a9e /tests | |
parent | 0ee48cda9c9521d543a7c296d9119bdd801e3318 (diff) | |
download | python-coveragepy-7881636a45a68127284c924a2dc7beff1ad7f3f9.tar.gz |
Modernize.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/backtest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/backtest.py b/tests/backtest.py index b17aa24..de15c80 100644 --- a/tests/backtest.py +++ b/tests/backtest.py @@ -6,7 +6,7 @@ import os -# Py2k and 3k don't agree on how to run commands in a subprocess. +# Py2 and Py3 don't agree on how to run commands in a subprocess. try: import subprocess except ImportError: @@ -40,9 +40,9 @@ else: return status, output -# No more execfile in Py3k +# No more execfile in Py3 try: - execfile = execfile + execfile except NameError: def execfile(filename, globs): """A Python 3 implementation of execfile.""" |