tests: mkenums: placate flake8

This commit is contained in:
Will Thompson 2018-08-10 15:56:00 +01:00
parent 12a2a984f2
commit cbd335c8c9
No known key found for this signature in database
GPG Key ID: 3422DC0D7AD482A7

View File

@ -342,8 +342,8 @@ comment: {standard_bottom_comment}
with tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
suffix='1.h') as h_file1, \
tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
suffix='2.h') as h_file2:
tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
suffix='2.h') as h_file2:
# Write out the headers.
h_file1.write(h_contents1.encode('utf-8'))
h_file2.write(h_contents2.encode('utf-8'))