Skip to content

Commit

Permalink
Tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Apr 8, 2022
1 parent cad5170 commit 944f740
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 944f740

Please sign in to comment.