MCPcopy Index your code
hub / github.com/pyinvoke/invoke / doesnt_duplicate_parent_dir_addition

Method doesnt_duplicate_parent_dir_addition

tests/loader.py:54–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 _BasicLoader().load("namespacing")
53
54 def doesnt_duplicate_parent_dir_addition(self):
55 _BasicLoader().load("namespacing")
56 _BasicLoader().load("namespacing")
57 # If the bug is present, this will be 2 at least (and often more, since
58 # other tests will pollute it (!).
59 assert sys.path.count(support) == 1
60
61 def can_load_package(self):
62 loader = _BasicLoader()

Callers

nothing calls this directly

Calls 2

_BasicLoaderClass · 0.85
loadMethod · 0.45

Tested by

no test coverage detected