Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_get_real_stoplist(self):
stopwords = get_stoplist("Slovak")
assert len(stopwords) > 0
def test_get_missing_stoplist(self):
with pytest.raises(ValueError):
get_stoplist("Klingon")