Skip to content

Commit facd721

Browse files
authored
Add CHANGELOG
1 parent 1f85668 commit facd721

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

changelog/9765.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fixed a frustrating bug that afflicted some users with the only error being ``assert mod not in mods``. The issue was caused by the fact that ``str(Path(mod))`` and ``mod.__file__`` not necessarily produce the same string, and was being erroneously used interchangably in some places in the code.
2+
3+
This fix also broke the internal API of ``PytestPluginManager.consider_conftest`` by introducing a new parameter -- we mention this in case it is being used by external code, even if marked as *private*.

0 commit comments

Comments
 (0)