Skip to content

Commit

Permalink
Tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Apr 9, 2022
1 parent 75d1285 commit 9e740a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/metadata/test_roundtrips.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_310_union_field_roundtrip(cl_and_vals_a, cl_and_vals_b, strat):
class C:
a: cl_a | cl_b

inst = C(a=cl_a(*vals_a))
inst = C(a=cl_a(*vals_a, **kwargs_a))

if strat is UnstructureStrategy.AS_DICT:
assert inst == converter.structure(converter.unstructure(inst), C)
Expand Down

0 comments on commit 9e740a8

Please sign in to comment.