Skip to content

Commit

Permalink
ipy
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Nov 1, 2024
1 parent 1081598 commit 2196a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compas/colors/test_colordict.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_colordict_json():
cd1[1] = Color.blue()
cd1[(1, 0)] = Color.green()

cd2: ColorDict = compas.json_loads(compas.json_dumps(cd1)) # type: ignore
cd2 = compas.json_loads(compas.json_dumps(cd1))

assert cd2[1] == Color.blue()
assert cd2["1"] == Color.blue()
Expand Down

0 comments on commit 2196a44

Please sign in to comment.