Skip to content

Commit

Permalink
tests: python<3.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ryneeverett committed Dec 28, 2015
1 parent 23535e2 commit b7655ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def remove(f):

@classmethod
def call(cls, *flags, inputfile='tests/data/some.md'):
subprocess.call([
'mkcodes', '--output', cls.output, *flags, inputfile])
subprocess.call(
['mkcodes', '--output', cls.output] + list(flags) + [inputfile])

def assertFileEqual(self, filename, expected):
with open(filename, 'r') as output:
Expand Down

0 comments on commit b7655ff

Please sign in to comment.