New submission from Martin Panter:

Two tests in test_capi assume that the GIL is always used, but I don’t think it 
is available when Python is built with “configure --without-threads”. So I 
propose to skip these tests if the “threading” module is unavailable.

In test_regrtest, a test is rerun using the -j2 option, which fails if 
multithreading is disabled. I propose to only run without -j2 if “threading” 
does not import.

Victor, I grouped these two changes together because both bits of code have 
your name on them. Hopefully you can give them a quick review :)

----------
components: Tests
files: mt-victor.patch
keywords: patch
messages: 279017
nosy: haypo, martin.panter
priority: normal
severity: normal
stage: patch review
status: open
title: test_capi, test_regrtest fail when multithreading disabled
type: behavior
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45148/mt-victor.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28484>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to