mirror of
https://github.com/beetbox/beets.git
synced 2026-02-09 17:01:55 +01:00
Convert stub: use __future__ imports
Even tiny stubs can't escape the wrath of flake8!
This commit is contained in:
parent
fc3f64de95
commit
f96aa24a79
2 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
a specified text tag.
|
||||
"""
|
||||
|
||||
from __future__ import division, absolute_import, print_function
|
||||
import sys
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class TestHelper(helper.TestHelper):
|
|||
|
||||
# A Python script that copies the file and appends a tag.
|
||||
stub = os.path.join(_common.RSRC, 'convert_stub.py')
|
||||
return u'python {} $source $dest {}'.format(stub, tag)
|
||||
return u"python '{}' $source $dest {}".format(stub, tag)
|
||||
|
||||
def assertFileTag(self, path, tag): # noqa
|
||||
"""Assert that the path is a file and the files content ends with `tag`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue