mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
gh-117478: Add @support.requires_gil_enabled decorator (#117479)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
de5ca0bf71
commit
42205143f8
7 changed files with 23 additions and 11 deletions
|
|
@ -731,6 +731,12 @@ The :mod:`test.support` module defines the following functions:
|
|||
macOS version is less than the minimum, the test is skipped.
|
||||
|
||||
|
||||
.. decorator:: requires_gil_enabled
|
||||
|
||||
Decorator for skipping tests on the free-threaded build. If the
|
||||
:term:`GIL` is disabled, the test is skipped.
|
||||
|
||||
|
||||
.. decorator:: requires_IEEE_754
|
||||
|
||||
Decorator for skipping tests on non-IEEE 754 platforms.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue