From eb2d5d51543fe8be292dd3643e50913901d4a736 Mon Sep 17 00:00:00 2001 From: "loic@dachary.org" Date: Tue, 10 Jan 2017 22:38:56 +0100 Subject: 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. --HG-- branch : issue-426 --- tests/modules/usepkgs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/modules') diff --git a/tests/modules/usepkgs.py b/tests/modules/usepkgs.py index 4e94acaa..222e68ce 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 -- cgit v1.2.1