mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
tests: Fix code style in Python files to satisfy black and flake8
This should make the style-check-diff CI job happy again. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
08cb200aec
commit
59541e335a
@ -24,7 +24,6 @@ import collections
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@ -151,7 +150,9 @@ class TestAssertMessage(unittest.TestCase):
|
||||
try:
|
||||
tmp.write(GDB_SCRIPT)
|
||||
tmp.close()
|
||||
result = self.runGdbAssertMessage("-x", tmp.name, self.__assert_msg_test)
|
||||
result = self.runGdbAssertMessage(
|
||||
"-x", tmp.name, self.__assert_msg_test
|
||||
)
|
||||
finally:
|
||||
os.unlink(tmp.name)
|
||||
|
||||
|
@ -24,7 +24,6 @@ import collections
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
import taptestrunner
|
||||
@ -70,7 +69,7 @@ class TestGobjectQuery(unittest.TestCase):
|
||||
stderr=subprocess.PIPE,
|
||||
env=env,
|
||||
text=True,
|
||||
encoding='utf-8',
|
||||
encoding="utf-8",
|
||||
)
|
||||
info.check_returncode()
|
||||
out = info.stdout.strip()
|
||||
|
Loading…
Reference in New Issue
Block a user