Skip to content

Commit 6f8bdbf

Browse files
committed
add test timeout
1 parent 10ae17d commit 6f8bdbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypyc/test/test_run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
312312
stderr=subprocess.STDOUT,
313313
env=env,
314314
)
315+
if sys.version_info >= (3, 12):
316+
proc.wait(timeout=30)
315317
output = proc.communicate()[0].decode("utf8")
316318
outlines = output.splitlines()
317319

0 commit comments

Comments
 (0)