From 3e95a370d0b3b5df949c176aae991ec2e822b579 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 8 Sep 2023 14:49:22 +0200 Subject: [PATCH] Update test docstring Co-authored-by: Bruno Oliveira --- testing/test_assertrewrite.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py index d69ca538c..b3fd0c2f2 100644 --- a/testing/test_assertrewrite.py +++ b/testing/test_assertrewrite.py @@ -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():