Skip to content

Commit

Permalink
add test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinIsland committed Dec 10, 2022
1 parent 10ae17d commit 6f8bdbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypyc/test/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
stderr=subprocess.STDOUT,
env=env,
)
if sys.version_info >= (3, 12):
proc.wait(timeout=30)
output = proc.communicate()[0].decode("utf8")
outlines = output.splitlines()

Expand Down

0 comments on commit 6f8bdbf

Please sign in to comment.