Skip to content

Commit 944f740

Browse files
committed
Tweak test
1 parent cad5170 commit 944f740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/metadata/test_roundtrips.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_310_union_field_roundtrip(cl_and_vals_a, cl_and_vals_b, strat):
137137
class C:
138138
a: cl_a | cl_b
139139

140-
inst = C(a=cl_a(*vals_a))
140+
inst = C(a=cl_a(*vals_a, **kwargs_a))
141141

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

0 commit comments

Comments
 (0)