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
{{ message }}
Repository navigation
Allow marked tests to be skipped under Windows #44
Currently, if the test is marked with forked, this plugin tries to run it in a forked subprocess regardless of the current env. Also, adding a conditional skip marker does not help and manifests itself as pytest-dev/pytest#7327.
Activity
moble commentedon Sep 11, 2020
For me, the easiest workaround is just to use a different decorator:
The first branch could also be
forked = lambda f: fto fall back to non-forking, as in option 3 above.untitaker commentedon Sep 24, 2020
You can write this, place it anywhere in conftest and use the marker like normal:EDIT: Ah the fixture is only executed in the forked process, that's a bummer