We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07150f9 commit 7702c4fCopy full SHA for 7702c4f
tests/test_path_checks.py
@@ -234,8 +234,8 @@ def test_content_limit_respected_read() -> None:
234
235
236
def test_bytes2str_in_dicts() -> None:
237
- d1 = {"foo": b"bar"}
+ assert bytes2str_in_dicts({"foo": b"bar"}) == {"foo": "bar"}
238
239
- d2 = bytes2str_in_dicts(d1)
+ assert bytes2str_in_dicts({"foo": [b"bar"]}) == {"foo": ["bar"]}
240
241
- assert d2 == {"foo": "bar"}
+ assert bytes2str_in_dicts({"foo": {"foo2": b"bar"}}) == {"foo": {"foo2": "bar"}}
0 commit comments