Merge remote-tracking branch 'upstream/develop' into fix/corpus

This commit is contained in:
svlandeg 2020-09-15 23:17:08 +02:00
commit 0d1392340f

View File

@ -298,4 +298,4 @@ def test_language_init_invalid_vocab(value):
err_fragment = "invalid value"
with pytest.raises(ValueError) as e:
Language(value)
assert err_fragment in str(e)
assert err_fragment in str(e.value)