summaryrefslogtreecommitdiff
path: root/tests/test_execfile.py
diff options
context:
space:
mode:
authorDanny Allen <danny.allen@pennantplc.co.uk>2014-09-22 12:10:53 +0100
committerDanny Allen <danny.allen@pennantplc.co.uk>2014-09-22 12:10:53 +0100
commit945aba067acd336f87e7d94cd8a1ab602fdacb4a (patch)
tree09146e7eb8ae2f75148bf3a3982e73b1e5d5deae /tests/test_execfile.py
parente7b771868e1348c6f2b775a347efdee5504930e0 (diff)
parentdb7911c6a6687e75eb8c4fdd61a019641b88862b (diff)
downloadpython-coveragepy-945aba067acd336f87e7d94cd8a1ab602fdacb4a.tar.gz
* Merge changes from head.
Diffstat (limited to 'tests/test_execfile.py')
-rw-r--r--tests/test_execfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_execfile.py b/tests/test_execfile.py
index 2427847..69616e8 100644
--- a/tests/test_execfile.py
+++ b/tests/test_execfile.py
@@ -16,7 +16,7 @@ class RunFileTest(CoverageTest):
def test_run_python_file(self):
tryfile = os.path.join(here, "try_execfile.py")
run_python_file(tryfile, [tryfile, "arg1", "arg2"])
- mod_globs = eval(self.stdout())
+ mod_globs = eval(self.stdout()) # pylint: disable=eval-used
# The file should think it is __main__
self.assertEqual(mod_globs['__name__'], "__main__")