summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorloic <loic@dachary.org>2017-01-10 22:38:56 +0100
committerloic <loic@dachary.org>2017-01-10 22:38:56 +0100
commit484d5cea59b7f5f0891fd62dc8565b74e92e75ac (patch)
treeefe0d37d309a9292646066c7069c8b4243a14f47 /tests/modules
parent2b304497bbad3a4a4d84f719a17ea080e4bbf708 (diff)
downloadpython-coveragepy-484d5cea59b7f5f0891fd62dc8565b74e92e75ac.tar.gz
simplify --source=pkg test cases
Instead of adding a new test, fix the existing test. It succeeded but was not actually testing the expected code path because pkg1 is both a directory and a package.
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/usepkgs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/usepkgs.py b/tests/modules/usepkgs.py
index 4e94aca..222e68c 100644
--- a/tests/modules/usepkgs.py
+++ b/tests/modules/usepkgs.py
@@ -1,7 +1,7 @@
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
-import pkg1.p1a, pkg1.p1b
+import pkg1.p1a, pkg1.p1b, pkg1.sub
import pkg2.p2a, pkg2.p2b
import othermods.othera, othermods.otherb
import othermods.sub.osa, othermods.sub.osb