Fix tests for json conversion

This commit is contained in:
thomashacker 2022-12-08 13:11:01 +01:00
parent 02729a2eb1
commit 64e2b00c4b

View File

@ -1719,7 +1719,7 @@ cdef class Doc:
data["underscore_token"][attr] = [] data["underscore_token"][attr] = []
data["underscore_token"][attr].append({"start": start, "value": value}) data["underscore_token"][attr].append({"start": start, "value": value})
# Else span attribute # Else span attribute
else: elif end is not None:
_label = data_key[4] _label = data_key[4]
_kb_id = data_key[5] _kb_id = data_key[5]
_span_id = data_key[6] _span_id = data_key[6]