forked from pool/python-pytaglib
- version update to 1.4.5 * Fix published taglib.cpp * Remove cython dependency from setup.py - added patches fix 'LocalPath'object has no attribute 'endswith' for python2 + python-pytaglib-python2-localpath.patch OBS-URL: https://build.opensuse.org/request/show/701953 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytaglib?expand=0&rev=8
13 lines
663 B
Diff
13 lines
663 B
Diff
Index: pytaglib-1.4.5/tests/__init__.py
|
|
===================================================================
|
|
--- pytaglib-1.4.5.orig/tests/__init__.py 2019-03-26 21:48:08.000000000 +0100
|
|
+++ pytaglib-1.4.5/tests/__init__.py 2019-05-09 15:30:36.799060223 +0200
|
|
@@ -12,6 +12,6 @@ import os.path, shutil
|
|
def copy_test_file(filename, tmpdir):
|
|
"""Make a temporary copy of test data file *name* (without dir) and return its full path."""
|
|
source = os.path.join(os.path.dirname(__file__), 'data', filename)
|
|
- target = os.path.join(tmpdir, filename)
|
|
+ target = os.path.join(tmpdir.strpath, filename)
|
|
shutil.copyfile(source, target)
|
|
return target
|