Skip to content

Commit

Permalink
cleanup ahead of review
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Sep 11, 2023
1 parent 1796f2c commit de84d46
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions gufe/tests/test_custom_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,20 +145,6 @@ def setup_method(self):
for dtype, byte_rep, classname in zip(dtypes, byte_reps, classes)
]

def test_round_trip(self):
encoder, decoder = custom_json_factory([self.codec, BYTES_CODEC])
for (obj, dct) in zip(self.objs, self.dcts):
print(dct)
print(encoder)
json_str = json.dumps(obj, cls=encoder)
print(json_str)
reconstructed = json.loads(json_str, cls=decoder)
print(type(reconstructed))
npt.assert_array_equal(reconstructed, obj)
assert reconstructed.dtype == obj.dtype
json_str_2 = json.dumps(obj, cls=encoder)
assert json_str == json_str_2


class TestPathCodec(CustomJSONCodingTest):
def setup_method(self):
Expand Down

0 comments on commit de84d46

Please sign in to comment.