gh-117478: Add @support.requires_gil_enabled decorator (#117479)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
Sam Gross 2024-04-04 14:10:46 -04:00 committed by GitHub
parent de5ca0bf71
commit 42205143f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 23 additions and 11 deletions

View file

@ -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.