Update test docstring
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
parent
a9c6ac104d
commit
3e95a370d0
|
@ -1545,6 +1545,10 @@ class TestIssue11028:
|
||||||
|
|
||||||
class TestIssue11239:
|
class TestIssue11239:
|
||||||
def test_assertion_walrus_different_test_cases(self, pytester: Pytester) -> None:
|
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(
|
pytester.makepyfile(
|
||||||
"""
|
"""
|
||||||
def test_1():
|
def test_1():
|
||||||
|
|
Loading…
Reference in New Issue