Skip to content

Commit 356aac1

Browse files
committed
Fix test_structuring_unsupported
1 parent f54cbfa commit 356aac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_structuring_unsupported():
336336
with raises(StructureHandlerNotFoundError) as exc:
337337
converter.structure(1, Union[int, str])
338338

339-
assert exc.value.type_ is Union[int, str]
339+
assert exc.value.type_ == Union[int, str]
340340

341341

342342
def test_subclass_registration_is_honored():

0 commit comments

Comments
 (0)