def test_not_a_document(json_codec):
    assert json_codec.load(b'{}') == Document()


# Encodings may have a verbose and a compact style.
Valid JSON that does not return a document should be coerced into one.
dataset/ETHPy150Open core-api/python-client/tests/test_codecs.py/test_not_a_document