|
@ -70,7 +70,7 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): |
|
|
expected = expected.replace( |
|
|
expected = expected.replace( |
|
|
"@DATA_FOLDER@", |
|
|
"@DATA_FOLDER@", |
|
|
subprocess.check_output( |
|
|
subprocess.check_output( |
|
|
["python", "-c", 'import patacrep, pkg_resources; print(pkg_resources.resource_filename(patacrep.__name__, "data"))'], |
|
|
["python", "-c", 'import patacrep, pkg_resources; print(pkg_resources.resource_filename(patacrep.__name__, "data"))'], # pylint: disable=line-too-long |
|
|
universal_newlines=True, |
|
|
universal_newlines=True, |
|
|
cwd=os.path.dirname(songbook), |
|
|
cwd=os.path.dirname(songbook), |
|
|
).strip(), |
|
|
).strip(), |
|
|