Skip to content

Commit

Permalink
added comments for clarity and minor changes to in exhaustive checkin…
Browse files Browse the repository at this point in the history
…g test file
  • Loading branch information
Maha Alnassr committed Dec 6, 2023
1 parent 16ca296 commit e7694a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test-data/unit/check-in-exhaustive-checking.test
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
[case testInExhaustiveChecking]

[builtins fixtures/tuple.pyi]

# Import NoReturn for indicating functions that shouldn't return normally
from typing_extensions import NoReturn

# Import Enum to give names to specific values and link them to unique, constant values
from enum import Enum

# Import assert_never for ensuring all cases in an if-elif chain are handled
from typing_extensions import assert_never

class MyEnum(Enum):
Expand Down

0 comments on commit e7694a8

Please sign in to comment.