summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-02-21 06:17:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-02-21 06:17:03 -0500
commit09dd5347e39ab522476767ffee213dd3dd8fe227 (patch)
tree121f06db3ae158c2f3d18e3019f80ba1ab4d0598 /tests
parent0af66e7cd0de5935739b3650de573d7acb0728ec (diff)
downloadpython-coveragepy-git-09dd5347e39ab522476767ffee213dd3dd8fe227.tar.gz
Sometimes we match against files, sometimes directories.
Also, skip our own test code when running tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_concurrency.py1
-rw-r--r--tests/test_debug.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 0a9fca0d..841b5df4 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -371,6 +371,7 @@ class MultiprocessingTest(CoverageTest):
self.make_file(".coveragerc", """\
[run]
concurrency = %s
+ source = .
""" % concurrency)
if env.PYVERSION >= (3, 4):
diff --git a/tests/test_debug.py b/tests/test_debug.py
index 1961b008..b0199155 100644
--- a/tests/test_debug.py
+++ b/tests/test_debug.py
@@ -146,7 +146,7 @@ class DebugTraceTest(CoverageTest):
out_lines = self.f1_debug_output(["sys"])
labels = """
- version coverage cover_dirs pylib_dirs tracer config_files
+ version coverage cover_paths pylib_paths tracer config_files
configs_read data_path python platform implementation executable
cwd path environment command_line cover_match pylib_match
""".split()