Files
pytest2/changelog/11028.bugfix.rst
Alessio Izzo 9e1add75f7 Fix warlus operator behavior when called by a function (#11041)
In #10758 we introduced the support for the use of the walrus operator in the test cases. There was a case which was not handled that caused a bug report #11028. This PR aims to fix the issue and also to improve how the walrus operator is handled in the AssertionRewriter class.

Closes #11028
2023-05-30 11:59:24 -03:00

2 lines
128 B
ReStructuredText

Fixed bug in assertion rewriting where a variable assigned with the walrus operator could not be used later in a function call.