We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c6eee commit 48f5115Copy full SHA for 48f5115
tests/serializers/test_definitions.py
@@ -132,5 +132,5 @@ def test_defs_with_dict():
132
)
133
134
135
- assert s.to_json({'foo': {'key': 'val'}}) == '{"foo":{"key":"val"}}'
+ assert s.to_json({'foo': {'key': 'val'}}) == b'{"foo":{"key":"val"}}'
136
assert s.to_python({'foo': {'key': 'val'}}) == {'foo': {'key': 'val'}}
0 commit comments