Merge branch 'bugfix/multiple-replace-listeners' of https://github.com/adrianeboyd/spaCy into bugfix/multiple-replace-listeners

This commit is contained in:
svlandeg 2023-05-31 13:23:09 +02:00
commit 138185248d

View File

@ -188,7 +188,7 @@ def test_tok2vec_listener(with_vectors):
for tag in t[1]["tags"]:
tagger.add_label(tag)
# Check that the Tok2Vec component finds it listeners
# Check that the Tok2Vec component finds its listeners
assert tok2vec.listeners == [tagger_tok2vec]
optimizer = nlp.initialize(lambda: train_examples)