Skip to content

Commit 6eed88a

Browse files
author
desert
committed
Fix union test.
The old test was just testing the same thing twice. Replace the second test with a different one.
1 parent 79850d7 commit 6eed88a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ class A:
236236

237237
assert schema.dump(loaded) == dumped
238238

239-
dumped = {"x": "X"}
240-
loaded = A("X")
239+
dumped = {"x": 5}
240+
loaded = A(5)
241241

242242
assert schema.load(dumped) == loaded
243243
assert schema.dump(loaded) == dumped

0 commit comments

Comments
 (0)