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
Running
pytest --doctest-modules -v --assert=plain
works without assert rewriting.
Running
pytest --doctest-modules -v --assert=plain -n 2
is still doing the assert rewriting.
I have to use --assert=plain as the tests are using pickle and assert rewriting is creating problems with pickle. Specifically it tries to pickle typing.io which does not support pickling.
The text was updated successfully, but these errors were encountered:
It seems the problem is that _consider_import_hook requires the --assert=plain option in the command-line, but workers don't receive the command-line parameters, only the filenames... not sure how to fix this.
Running
pytest --doctest-modules -v --assert=plain
works without assert rewriting.
Running
pytest --doctest-modules -v --assert=plain -n 2
is still doing the assert rewriting.
I have to use --assert=plain as the tests are using pickle and assert rewriting is creating problems with pickle. Specifically it tries to pickle typing.io which does not support pickling.
The text was updated successfully, but these errors were encountered: