summaryrefslogtreecommitdiff
path: root/coverage/execfile.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-07-08 09:24:20 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-07-08 09:24:20 -0400
commitcf8104fc6f89f930c9ed73aa5fcb26d719c34c8c (patch)
tree09a17673d425ae0333e78e64f28ca927a5fcb958 /coverage/execfile.py
parent7543acc020bcf956c95396b234b26f0b26783243 (diff)
downloadpython-coveragepy-cf8104fc6f89f930c9ed73aa5fcb26d719c34c8c.tar.gz
Various Py3k fixes: remove gratuitous print, don't test the print statement, deal with __cmp__ ugliness, etc.
Diffstat (limited to 'coverage/execfile.py')
-rw-r--r--coverage/execfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/execfile.py b/coverage/execfile.py
index 09947bc..a345c76 100644
--- a/coverage/execfile.py
+++ b/coverage/execfile.py
@@ -6,8 +6,8 @@ try:
# In Py 2.x, the builtins were in __builtin__
BUILTINS = sys.modules['__builtin__']
except KeyError:
- # In Py 3.x, they're in builtin
- BUILTINS = sys.modules['builtin']
+ # In Py 3.x, they're in builtins
+ BUILTINS = sys.modules['builtins']
def run_python_file(filename, args):