From c36e091f44d4fa82cdcde671c0123cd9dac0b784 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 28 Sep 2013 09:39:19 -0400 Subject: Modernize. --- tests/backtest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/backtest.py b/tests/backtest.py index b17aa242..de15c80c 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.""" -- cgit v1.2.1