Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43adc46

Browse files
committed
Small test fixes
1 parent 9c9a791 commit 43adc46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-data/unit/check-typeguard.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ if typeguard(n):
639639
reveal_type(n)
640640
[builtins fixtures/tuple.pyi]
641641
[out]
642-
main:4: error: invalid syntax
642+
main:4: error: invalid syntax; you likely need to run mypy using Python 3.8 or newer
643643
[out version>=3.8]
644644
main:9: note: Revealed type is "builtins.int"
645645

@@ -655,7 +655,7 @@ if typeguard(x=(n := cast(object, "hi"))):
655655
reveal_type(n)
656656
[builtins fixtures/tuple.pyi]
657657
[out]
658-
main:8: error: invalid syntax
658+
main:8: error: invalid syntax; you likely need to run mypy using Python 3.8 or newer
659659
[out version>=3.8]
660660
main:9: note: Revealed type is "builtins.int"
661661

0 commit comments

Comments
 (0)