From 9e740a877f87d703b36815412921a82f697994cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20Tvrtkovi=C4=87?= Date: Fri, 8 Apr 2022 13:16:15 +0200 Subject: [PATCH] Tweak test --- tests/metadata/test_roundtrips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/metadata/test_roundtrips.py b/tests/metadata/test_roundtrips.py index 0ef7ca89..ea81dc82 100644 --- a/tests/metadata/test_roundtrips.py +++ b/tests/metadata/test_roundtrips.py @@ -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)