Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Apr 5, 2024
1 parent 5794774 commit 75f5747
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unittests/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
__copyright__ = "Copyright 2024, RADICAL@Rutgers"
__license__ = "MIT"

import os

import radical.utils as ru


Expand Down Expand Up @@ -43,6 +41,8 @@ def deserialize(cls, data):
assert old == new


# ------------------------------------------------------------------------------
#
def test_serialization_typed_dict():

class A(ru.TypedDict):
Expand All @@ -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
Expand Down

0 comments on commit 75f5747

Please sign in to comment.