You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytester: error on non-str pytester.plugins in subprocess mode instead of silently ignoring
In subprocess mode, adding a non-str plugin object to `pytester.plugins`
can't work. Previously, such plugins would just be silently ignored.
Silently ignoring an explicit setup doesn't seem right. Error instead.
Fixed :fixture:`pytester` in subprocess mode ignored all :attr`pytester.plugins <pytest.Pytester.plugins>` except the first.
2
+
3
+
Fixed :fixture:`pytester` in subprocess mode silently ignored non-str :attr:`pytester.plugins <pytest.Pytester.plugins>`.
4
+
Now it errors instead.
5
+
If you are affected by this, specify the plugin by name, or switch the affected tests to use :func:`pytester.runpytest_inprocess <pytest.Pytester.runpytest_inprocess>` explicitly instead.
0 commit comments