We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c8277 commit 5dcb521Copy full SHA for 5dcb521
tests/test_sql_classes.py
@@ -44,8 +44,11 @@
44
45
def test_type_map():
46
# Check that the MAPPED_TYPES matches the union of types in TYPE_MAP
47
- mapped_type_construct = typing.Union[*TYPE_MAP.keys()]
48
- assert MAPPED_TYPES == mapped_type_construct
+ union = None
+ for t in TYPE_MAP.keys():
49
+ union = typing.Union[union, t]
50
+
51
+ assert MAPPED_TYPES == union
52
53
54
class TestListFlattenSeparate:
0 commit comments