Skip to content

Commit 7bab569

Browse files
Fix tests
1 parent effa78f commit 7bab569

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-data/unit/check-typeguard.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,6 @@ assert a(x=x)
731731
reveal_type(x) # N: Revealed type is "builtins.int"
732732
[builtins fixtures/tuple.pyi]
733733

734-
735734
# https://github.com/python/mypy/issues/19575
736735
[case testNoCrashOnDunderCallTypeGuardTemporaryObject]
737736
from typing_extensions import TypeGuard
@@ -742,6 +741,8 @@ class E:
742741
x = object()
743742
if E()(x):
744743
reveal_type(x) # N: Revealed type is "builtins.int"
744+
[builtins fixtures/tuple.pyi]
745+
745746
[case testNoCrashOnDunderCallTypeIsTemporaryObject]
746747
from typing_extensions import TypeIs
747748
class E:

0 commit comments

Comments
 (0)