Skip to content

Commit

Permalink
remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Jul 20, 2023
1 parent e3c609a commit 7bccc0a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/parser/syntax/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@
STAFF
ADMIN
@external
def foo(x: Roles) -> bool:
return x in [Roles.USER, Roles.ADMIN]
""",
TypeMismatch,
),
(
"""
enum Roles:
USER
STAFF
ADMIN
@external
def foo(x: Roles) -> Roles:
return x.USER # can't dereference on enum instance
Expand Down

0 comments on commit 7bccc0a

Please sign in to comment.