Remove trailing whitespace

This commit is contained in:
Ines Montani 2016-12-07 21:12:19 +01:00
parent 0d07d7fc80
commit 52e7d634df
1 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ def test_noun_lemmas(lemmatizer):
def test_base_form_dive(lemmatizer):
if lemmatizer is None:
return None
do = lemmatizer.noun
assert do('dive', number='sing') == set(['dive'])
assert do('dive', number='plur') == set(['diva'])
@ -67,7 +67,7 @@ def test_base_form_dive(lemmatizer):
def test_base_form_saw(lemmatizer):
if lemmatizer is None:
return None
do = lemmatizer.verb
assert do('saw', verbform='past') == set(['see'])
@ -75,7 +75,7 @@ def test_base_form_saw(lemmatizer):
def test_smart_quotes(lemmatizer):
if lemmatizer is None:
return None
do = lemmatizer.punct
assert do('') == set(['"'])
assert do('') == set(['"'])
@ -84,10 +84,10 @@ def test_smart_quotes(lemmatizer):
def test_pickle_lemmatizer(lemmatizer):
if lemmatizer is None:
return None
file_ = io.BytesIO()
pickle.dump(lemmatizer, file_)
file_.seek(0)
loaded = pickle.load(file_)