Skip to content

Commit 48f5115

Browse files
committed
fixing to_json test
1 parent 80c6eee commit 48f5115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/serializers/test_definitions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,5 @@ def test_defs_with_dict():
132132
)
133133
)
134134

135-
assert s.to_json({'foo': {'key': 'val'}}) == '{"foo":{"key":"val"}}'
135+
assert s.to_json({'foo': {'key': 'val'}}) == b'{"foo":{"key":"val"}}'
136136
assert s.to_python({'foo': {'key': 'val'}}) == {'foo': {'key': 'val'}}

0 commit comments

Comments
 (0)