We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8d323 commit b79b0edCopy full SHA for b79b0ed
src/_pytest/monkeypatch.py
@@ -346,9 +346,7 @@ def syspath_prepend(self, path) -> None:
346
# https://github.com/pypa/setuptools/blob/d8b901bc/docs/pkg_resources.txt#L162-L171
347
# this is only needed when pkg_resources was already loaded by the namespace package
348
if "pkg_resources" in sys.modules:
349
- from pkg_resources import (
350
- fixup_namespace_packages,
351
- )
+ from pkg_resources import fixup_namespace_packages
352
353
fixup_namespace_packages(str(path))
354
0 commit comments