spaCy/spacy/tests/regression/test_issue1919.py
2018-02-02 02:32:40 +01:00

11 lines
274 B
Python

'''Test that nlp.begin_training() doesn't require missing cfg properties.'''
from __future__ import unicode_literals
import pytest
from ... import load as load_spacy
@pytest.mark.models('en')
def test_issue1919():
nlp = load_spacy('en')
opt = nlp.begin_training()