Fix path error on Py3.5

This commit is contained in:
James R. Barlow
2018-07-08 01:01:06 -07:00
parent 58642aa98b
commit 1cc9d2d3d1
+1 -1
View File
@@ -252,7 +252,7 @@ def test_xml_metadata_preserved(spoof_tesseract_noop, output_type,
def test_srgb_in_unicode_path(tmpdir):
"""Test that we can produce pdfmark when install path is not ASCII"""
dstdir = Path(tmpdir) / b'\xe4\x80\x80'.decode('utf-8')
dstdir = Path(fspath(tmpdir)) / b'\xe4\x80\x80'.decode('utf-8')
dstdir.mkdir()
dst = dstdir / 'sRGB.icc'