mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
tests: mkenums: placate flake8
This commit is contained in:
@@ -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'))
|
||||||
|
Reference in New Issue
Block a user