mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
Merge branch 'w32-tests' into 'main'
Various win32 test fixes See merge request GNOME/glib!2952
This commit is contained in:
@@ -55,12 +55,6 @@ class TestGobjectQuery(unittest.TestCase):
|
||||
|
||||
def runGobjectQuery(self, *args):
|
||||
argv = [self.__gobject_query]
|
||||
|
||||
# shebang lines are not supported on native
|
||||
# Windows consoles
|
||||
if os.name == "nt":
|
||||
argv.insert(0, sys.executable)
|
||||
|
||||
argv.extend(args)
|
||||
print("Running:", argv)
|
||||
|
||||
@@ -75,7 +69,8 @@ class TestGobjectQuery(unittest.TestCase):
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
env=env,
|
||||
universal_newlines=True,
|
||||
text=True,
|
||||
encoding='utf-8',
|
||||
)
|
||||
info.check_returncode()
|
||||
out = info.stdout.strip()
|
||||
|
Reference in New Issue
Block a user