Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
brianschubert committed Oct 29, 2024
1 parent 4179e8b commit 1ebaf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-data/unit/check-tuples.test
Original file line number Diff line number Diff line change
Expand Up @@ -1440,8 +1440,8 @@ t[y:] # E: Slice index must be an integer, SupportsIndex or None

[case testTupleSliceStepZeroNoCrash]
# This was crashing: https://github.com/python/mypy/issues/18062
# TODO: emit better error when 0 is used for step
()[::0] # E: Ambiguous slice of a variadic tuple
()[::0] # E: Ambiguous slice of a variadic tuple \
# E: Slice step cannot be 0
[builtins fixtures/tuple.pyi]

[case testInferTupleTypeFallbackAgainstInstance]
Expand Down

0 comments on commit 1ebaf3c

Please sign in to comment.