Fix test function comment

This commit is contained in:
Michal Siedlaczek 2018-04-21 12:33:10 -04:00
parent d606cd5550
commit e2d249541d

View File

@ -75,8 +75,9 @@ def test_local_filename_dictionary_installed(tmpdir, monkeypatch):
def test_local_filename_installed_malformed(tmpdir, monkeypatch, caplog):
"""Tests retrieving local filename when the dict installed and another
file is malformed."""
"""Tests retrieving local filename when the dict installed.
In this usecase, another existing file is malformed."""
monkeypatch.setattr(spell, 'dictionary_dir', lambda: str(tmpdir))
for lang_file in ['en-US-11-0.bdic', 'en-US-7-1.bdic', 'en-US.bdic']:
(tmpdir / lang_file).ensure()