Add missing str()

This commit is contained in:
Florian Bruhin 2018-06-28 13:26:45 +02:00
parent dbd4ce48e6
commit e857400c2c

View File

@ -117,7 +117,7 @@ class TestInit:
dict_dir = data_dir / 'qtwebengine_dictionaries'
(dict_dir / 'somedict').ensure()
monkeypatch.setattr(spell.QLibraryInfo, 'location',
lambda _arg: data_dir)
lambda _arg: str(data_dir))
return dict_dir
def test_old_qt(self, monkeypatch):