gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480)

This commit is contained in:
Serhiy Storchaka 2023-09-05 17:56:30 +03:00 committed by GitHub
parent f980cc19b9
commit 1e0d62793a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 48 additions and 3 deletions

View file

@ -107,6 +107,8 @@ resources to test. Currently only the following are defined:
cpu - Used for certain CPU-heavy tests.
walltime - Long running but not CPU-bound tests.
subprocess Run all tests for the subprocess module.
urlfetch - It is okay to download files required on testing.
@ -129,7 +131,7 @@ Pattern examples:
ALL_RESOURCES = ('audio', 'curses', 'largefile', 'network',
'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui')
'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui', 'walltime')
# Other resources excluded from --use=all:
#