Pytest reevaluates walrus operations within assert statements #11115
Labels
topic: rewrite
related to the assertion rewrite mechanism
type: regression
indicates a problem that was introduced in a release which was working previously
pip list
from the virtual environment you are usingUbuntu 22.04, pytest 7.3.2, python 3.10.11
Package Version
exceptiongroup 1.1.1
iniconfig 2.0.0
packaging 23.1
pip 23.1.2
pluggy 1.0.0
pytest 7.3.2
setuptools 67.8.0
tomli 2.0.1
wheel 0.38.4
Pytest 7.3.2 re-evaluates walrus operator statements if they appear in assert statements.
The text was updated successfully, but these errors were encountered: