Browse Source

(pylint) unused variable

pull/174/head
Oliverpool 9 years ago
parent
commit
20aeae8003
  1. 2
      test/test_chordpro/test_parser.py

2
test/test_chordpro/test_parser.py

@ -145,7 +145,7 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest):
""" """
with cls.chdir(): with cls.chdir():
for crlfname in sorted(glob.glob('*.crlf.*.source')): for crlfname in sorted(glob.glob('*.crlf.*.source')):
[*base, crlf, in_format, _] = crlfname.split('.') [*base, _crlf, in_format, _] = crlfname.split('.')
base = '.'.join(base + [in_format]) base = '.'.join(base + [in_format])
with open(crlfname, 'w') as crlffile: with open(crlfname, 'w') as crlffile:
crlffile.write(crlf_msg.format(base)) crlffile.write(crlf_msg.format(base))

Loading…
Cancel
Save