From 425756c24d995c6b5f97ad51da02ef9daeac3d0d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 29 Jun 2019 16:52:19 -0700 Subject: [PATCH] use --forked instead of --boxed with pytest --- build.py | 2 +- requirements/devel.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 429c4dec..6aa011bb 100755 --- a/build.py +++ b/build.py @@ -1290,7 +1290,7 @@ def cmd_test(options, args, tests=None): # -n is the number of processes to run in parallel # --timeout will kill the test process if it gets stuck jobs = '-n{}'.format(options.pytest_jobs) if options.pytest_jobs else '' - boxed = '--boxed' if not isWindows else '' + boxed = '--forked' if not isWindows else '' sec = options.pytest_timeout timeout = '--timeout={}'.format(sec) if sec and sec != "0" else '' cmd = '"{}" -m pytest {} {} {} {} {} '.format( diff --git a/requirements/devel.txt b/requirements/devel.txt index d558945c..7233f712 100644 --- a/requirements/devel.txt +++ b/requirements/devel.txt @@ -8,4 +8,5 @@ sphinx requests pytest pytest-xdist +pytest-forked pytest-timeout