summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-04-11 10:19:02 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-04-11 13:37:04 -0400
commit5c2f614e01d35271f7907d85050115071cf24e87 (patch)
treeefab88c677cb4b220313927248c5ac696a471334 /tests/helpers.py
parentc19658365310d76c1c64befea178d87637475811 (diff)
downloadpython-coveragepy-git-5c2f614e01d35271f7907d85050115071cf24e87.tar.gz
fix: don't measure third-party scriptsnedbat/bin-exclude
This finishes the last bit of #905 Also includes tighter logging of the reason for not tracing modules.
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 262d9301..daed3d1a 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -240,7 +240,7 @@ def change_dir(new_dir):
"""
old_dir = os.getcwd()
- os.chdir(new_dir)
+ os.chdir(str(new_dir))
try:
yield
finally: