Skip to content

Commit

Permalink
Python 3.9 is really annoying me
Browse files Browse the repository at this point in the history
  • Loading branch information
lojack5 committed Oct 5, 2024
1 parent 7e7c0ca commit 2d7df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ def test_lookahead(self) -> None:
def test_finality(self) -> None:
class Base(Structured):
# Note: the actual serializer(s) used for unpacking occur in the LookbackDecider
a: Annotated[Union[uint32|float32], LookbackDecider(lambda x: 0, {0:uint32, 1:Final()})]
a: Annotated[Union[uint32,float32], LookbackDecider(lambda x: 0, {0:uint32, 1:Final()})]

assert Base.serializer.is_final()

0 comments on commit 2d7df1a

Please sign in to comment.