Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Add additional test for non-immediate private parent package
Browse files Browse the repository at this point in the history
  • Loading branch information
gbroques committed Jul 20, 2020
1 parent 39d933f commit 39e5c4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/parser_test.py
Expand Up @@ -578,6 +578,9 @@ def test_module_publicity(parent_path):
module = parser.parse(code, str(parent_path / "_private_pkg" / "filepath"))
assert not module.is_public

module = parser.parse(code, str(parent_path / "_private_pkg" / "some_pkg" / "filepath"))
assert not module.is_public

module = parser.parse(code, str(parent_path / "_filepath"))
assert not module.is_public

Expand Down

0 comments on commit 39e5c4b

Please sign in to comment.