Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Commit a62335a

Browse files
committed
hypothesis fixtures do not use tp.hashable
1 parent 0c16ee8 commit a62335a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_property.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pickle
2-
import typing
2+
import typing as tp
33
from functools import partial
44
import sys
55
import warnings
@@ -17,7 +17,7 @@
1717
from arraymap import FrozenAutoMap
1818
from arraymap import NonUniqueError
1919

20-
Keys = typing.Set[typing.Hashable]
20+
Keys = tp.Set[tp.Union[int, str, float, bool, bytes, tp.Tuple[int, ...]]]
2121

2222
NATIVE_BYTE_ORDER = "<" if sys.byteorder == "little" else ">"
2323
VALID_BYTE_ORDERS = ("=", NATIVE_BYTE_ORDER)

0 commit comments

Comments
 (0)