Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 2b5a106

Browse files
committed
tests/run-tests: If running thread tests on unix, don't run mutate ones.
They will fail because the GIL is disabled on the unix build.
1 parent 3096928 commit 2b5a106

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/run-tests

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@ def run_tests(pyb, tests, args):
201201
skip_tests.add('float/true_value.py')
202202
skip_tests.add('float/types.py')
203203

204+
# Some tests shouldn't be run on a PC
205+
if pyb is None:
206+
# unix build does not have the GIL so can't run thread mutation tests
207+
for t in tests:
208+
if t.startswith('thread/mutate_'):
209+
skip_tests.add(t)
210+
204211
# Some tests shouldn't be run on pyboard
205212
if pyb is not None:
206213
skip_tests.add('basics/exception_chain.py') # warning is not printed

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy