mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-25 00:26:52 +02:00
tests: mkenums: placate flake8
This commit is contained in:
parent
12a2a984f2
commit
cbd335c8c9
@ -342,8 +342,8 @@ comment: {standard_bottom_comment}
|
|||||||
|
|
||||||
with tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
|
with tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
|
||||||
suffix='1.h') as h_file1, \
|
suffix='1.h') as h_file1, \
|
||||||
tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
|
tempfile.NamedTemporaryFile(dir=self.tmpdir.name,
|
||||||
suffix='2.h') as h_file2:
|
suffix='2.h') as h_file2:
|
||||||
# Write out the headers.
|
# Write out the headers.
|
||||||
h_file1.write(h_contents1.encode('utf-8'))
|
h_file1.write(h_contents1.encode('utf-8'))
|
||||||
h_file2.write(h_contents2.encode('utf-8'))
|
h_file2.write(h_contents2.encode('utf-8'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user