Skip to content

Commit 57177bf

Browse files
committed
test: better case names
1 parent 9109962 commit 57177bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/check-classes.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ a.f = a.f # E: Property "f" defined in "A" is read-only
16651665
a.f.x # E: "int" has no attribute "x"
16661666
[builtins fixtures/property.pyi]
16671667

1668-
[case testPropertyWithTupleUnionAndNonUnionMismatchReturnValueType]
1668+
[case testPropertyReturnTypeMismatchUnion]
16691669
from typing import Tuple, Union
16701670
class A:
16711671
a: str
@@ -1704,7 +1704,7 @@ main:18: note: Expression tuple item 7 has type "Union[str, float]"; "str" expec
17041704
main:18: note: Expression tuple item 8 has type "Optional[str]"; "str" expected;
17051705
[builtins fixtures/property.pyi]
17061706

1707-
[case testPropertyWithTupleUnionAndNonUnionMismatchReturnValueType_wider_expeced_return]
1707+
[case testPropertyTupleReturnTypeMismatchUnionWiderExpected]
17081708
from typing import Tuple, Union
17091709
class A:
17101710
a: str

0 commit comments

Comments
 (0)