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
With version 3.3.0, pytest behavior appears to have changed. It is now setting a PYTEST_CURRENT_TEST environment variable with the pytest name of each test. This is problematic if you are using the default pytest behavior of auto-generated names with for parametrized with binary values, as os.environ.set chokes on null bytes:
I think the best short-term solution will be to set pytest<3.3.0 in tox.ini. Once this bug is fixed, we can update to either require the new minimum version or blacklist 3.3.0.
Problem
With version 3.3.0, pytest behavior appears to have changed. It is now setting a
PYTEST_CURRENT_TEST
environment variable with the pytest name of each test. This is problematic if you are using the default pytest behavior of auto-generated names with for parametrized with binary values, asos.environ.set
chokes on null bytes:Solution
TBD
The text was updated successfully, but these errors were encountered: