diff --git a/tests/unittests/test_serialization.py b/tests/unittests/test_serialization.py index 58bb1e22..77fbd9fd 100644 --- a/tests/unittests/test_serialization.py +++ b/tests/unittests/test_serialization.py @@ -4,8 +4,6 @@ __copyright__ = "Copyright 2024, RADICAL@Rutgers" __license__ = "MIT" -import os - import radical.utils as ru @@ -43,6 +41,8 @@ def deserialize(cls, data): assert old == new +# ------------------------------------------------------------------------------ +# def test_serialization_typed_dict(): class A(ru.TypedDict): @@ -51,7 +51,7 @@ class A(ru.TypedDict): class B(ru.TypedDict): _schema = {'a': A} - old = B(a=A(i=42, s='buz')) + old = B(a=A(s='buz', i=42)) new = ru.from_json(ru.to_json(old)) assert old == new