mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-02 03:46:39 +02:00
Tests: do not set a timeout in Python tests
The Meson test harness handles that for us. With a custom timeout, meson test -t is not useful (which is surprising for users) and interactive debugging sessions may terminate unexepectedly.
This commit is contained in:
@@ -101,7 +101,6 @@ class TestProgramRunner(unittest.TestCase):
|
||||
self,
|
||||
*args,
|
||||
should_fail=False,
|
||||
timeout_seconds=10,
|
||||
wrapper_args=[],
|
||||
environment={},
|
||||
cwd=None,
|
||||
@@ -130,7 +129,6 @@ class TestProgramRunner(unittest.TestCase):
|
||||
# We want to ensure consistent line endings...
|
||||
info = subprocess.run(
|
||||
argv,
|
||||
timeout=timeout_seconds,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
env=env,
|
||||
|
Reference in New Issue
Block a user