mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
Fixed E501 and E305 PEP8 errors
This commit is contained in:
parent
fa468ce9d1
commit
85e0c0dcee
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ class TestHelper(helper.TestHelper):
|
|||
|
||||
# A Python script that copies the file and appends a tag.
|
||||
stub = os.path.join(_common.RSRC, b'convert_stub.py').decode('utf-8')
|
||||
return u"{} {} $source $dest {}".format(shell_quote(sys.executable), shell_quote(stub), tag)
|
||||
return u"{} {} $source $dest {}".format(shell_quote(sys.executable),
|
||||
shell_quote(stub), tag)
|
||||
|
||||
def assertFileTag(self, path, tag): # noqa
|
||||
"""Assert that the path is a file and the files content ends with `tag`.
|
||||
|
|
@ -283,5 +284,6 @@ class NeverConvertLossyFilesTest(unittest.TestCase, TestHelper,
|
|||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromName(__name__)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(defaultTest='suite')
|
||||
|
|
|
|||
Loading…
Reference in a new issue