summaryrefslogtreecommitdiff
path: root/test/test_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
commitd3edb493b6cafd26e7881d5dc86b00bda471dc94 (patch)
tree83c45aa5f73f2db728a00cd4065d0b30e9aefc5e /test/test_execfile.py
parent45f101480589b553394319af4faad34aa6fe069f (diff)
downloadpython-coveragepy-git-d3edb493b6cafd26e7881d5dc86b00bda471dc94.tar.gz
Various Py3k fixes: remove gratuitous print, don't test the print statement, deal with __cmp__ ugliness, etc.
Diffstat (limited to 'test/test_execfile.py')
-rw-r--r--test/test_execfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_execfile.py b/test/test_execfile.py
index 6cc7cab8..9c838e1a 100644
--- a/test/test_execfile.py
+++ b/test/test_execfile.py
@@ -40,7 +40,7 @@ class RunTest(CoverageTest):
def test_no_extra_file(self):
# Make sure that running a file doesn't create an extra compiled file.
self.makeFile("xxx", """\
- print "a non-.py file!"
+ desc = "a non-.py file!"
""")
self.assertEqual(os.listdir("."), ["xxx"])