diff options
Diffstat (limited to 'coverage/inorout.py')
-rw-r--r-- | coverage/inorout.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coverage/inorout.py b/coverage/inorout.py index 2ab7d493..25943cb1 100644 --- a/coverage/inorout.py +++ b/coverage/inorout.py @@ -124,8 +124,7 @@ def file_and_path_for_module(modulename): pass else: if spec is not None: - if spec.origin != "namespace": - filename = spec.origin + filename = spec.origin path = list(spec.submodule_search_locations or ()) return filename, path |