diff --git a/spacy/tests/parser/test_nn_beam.py b/spacy/tests/parser/test_nn_beam.py index 45c85d969..ab8bf012b 100644 --- a/spacy/tests/parser/test_nn_beam.py +++ b/spacy/tests/parser/test_nn_beam.py @@ -63,7 +63,7 @@ def vector_size(): @pytest.fixture def beam(moves, states, golds, beam_width): - return ParserBeam(moves, states, golds, width=beam_width) + return ParserBeam(moves, states, golds, width=beam_width, density=0.0) @pytest.fixture def scores(moves, batch_size, beam_width):