From 75f5747acfe2a89bfa9df7327c37ae6832befc12 Mon Sep 17 00:00:00 2001 From: Andre Merzky Date: Fri, 5 Apr 2024 16:27:26 +0200 Subject: [PATCH] linting --- tests/unittests/test_serialization.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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