Use fixup_namespace_packages also with pytester.syspathinsert

This commit is contained in:
Daniel Hahler
2019-03-22 16:26:55 +01:00
parent 05d55b86df
commit 5df45f5b27
2 changed files with 8 additions and 3 deletions

View File

@@ -1 +1 @@
``monkeypatch.syspath_prepend`` calls ``pkg_resources.fixup_namespace_packages`` to handle namespace packages better.
Namespace packages are handled better with ``monkeypatch.syspath_prepend`` and ``testdir.syspathinsert`` (via ``pkg_resources.fixup_namespace_packages``).