Skip to content

Commit

Permalink
Fixed E501 and E305 PEP8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
antlarr committed May 8, 2017
1 parent 697fa63 commit 2c6ae61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def tagged_copy_cmd(self, tag):

# 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`.
Expand Down Expand Up @@ -283,5 +284,6 @@ def test_transcode_from_lossy_prevented(self):
def suite():
return unittest.TestLoader().loadTestsFromName(__name__)


if __name__ == '__main__':
unittest.main(defaultTest='suite')

0 comments on commit 2c6ae61

Please sign in to comment.