diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-11 09:14:45 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-11 09:14:45 -0400 |
commit | c34cce353390abaff35e54393002f336300dcde4 (patch) | |
tree | edd67ac27af48ff7977c3fcccf4644352bb5e9aa | |
parent | 1bbf2cd42d6d86ac71bb429fef320af92f1ef3d6 (diff) | |
download | python-coveragepy-git-c34cce353390abaff35e54393002f336300dcde4.tar.gz |
Python 2.6
-rw-r--r-- | tests/test_oddball.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py index f4410da7..6fa512d8 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -408,10 +408,11 @@ class ExecTest(CoverageTest): # https://bitbucket.org/ned/coveragepy/issues/380/code-executed-by-exec-excluded-from # Bug was that exec'd files would have their lines attributed to the # calling file. Make two files, both with ~30 lines, but no lines in - # common. Line 30 in to_exec.py will be recorded as line 30 in main.py. + # common. Line 30 in to_exec.py was recorded as line 30 in main.py, + # but now it's fixed. :) self.make_file("to_exec.py", """\ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n - print("var is {}".format(var)) # line 31 + print("var is {0}".format(var)) # line 31 """) self.make_file("main.py", """\ namespace = {'var': 17} |