

@pytest.mark.parametrize('document', ['a string', [], [1, 2, 3], 11, 12.7])
def test_document_returns_none_with_non_dict_document(self, document):
    annotation = Annotation(document=document)
    assert (document.document is None)

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestAnnotation.test_document_returns_none_with_non_dict_document/VarMisuse@52/67 `annotation`->`document`