Stringify py.path object for py3.5
https://www.python.org/dev/peps/pep-0519/ Huh, I didn't realise cpython and the stdlib look up "special" methods on the class only.
This commit is contained in:
parent
2510fde80f
commit
d31fa5229d
@ -104,7 +104,7 @@ class TestDownloadTarget:
|
||||
])
|
||||
def test_sanitized_filenames(raw, expected, config_stub, download_tmpdir):
|
||||
manager = downloads.AbstractDownloadManager()
|
||||
target = downloads.FileDownloadTarget(download_tmpdir)
|
||||
target = downloads.FileDownloadTarget(str(download_tmpdir))
|
||||
item = downloads.AbstractDownloadItem()
|
||||
|
||||
# Don't try to start a timer outside of a QThread
|
||||
|
Loading…
Reference in New Issue
Block a user