Update test docstring

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Marc Mueller 2023-09-08 14:49:22 +02:00
parent a9c6ac104d
commit 3e95a370d0
1 changed files with 4 additions and 0 deletions

View File

@ -1545,6 +1545,10 @@ class TestIssue11028:
class TestIssue11239:
def test_assertion_walrus_different_test_cases(self, pytester: Pytester) -> None:
"""Regression for (#11239)
Walrus operator rewriting would leak to separate test cases if they used the same variables.
"""
pytester.makepyfile(
"""
def test_1():