summaryrefslogtreecommitdiff
path: root/tests/modules/pkg1/__main__.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-18 19:41:30 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-25 14:34:59 -0500
commitb7e0eec3d794ee350f8a4392a0c9cc90fff54fa0 (patch)
tree0ccbe08a6c6dd24f95789b1b402d1c418e735a39 /tests/modules/pkg1/__main__.py
parent41547862ba4a9a948023ade66e41d9f43d9d84c2 (diff)
downloadpython-coveragepy-git-b7e0eec3d794ee350f8a4392a0c9cc90fff54fa0.tar.gz
PyRunner knows how to run Python files.
Adjust sys.path to better emulate Python, but only if we should.
Diffstat (limited to 'tests/modules/pkg1/__main__.py')
-rw-r--r--tests/modules/pkg1/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/pkg1/__main__.py b/tests/modules/pkg1/__main__.py
index 66ce5956..0d38e33e 100644
--- a/tests/modules/pkg1/__main__.py
+++ b/tests/modules/pkg1/__main__.py
@@ -1,3 +1,3 @@
-# Used in the tests for run_python_module
+# Used in the tests for PyRunner
import sys
print("pkg1.__main__: passed %s" % sys.argv[1])