mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480)
This commit is contained in:
parent
f980cc19b9
commit
1e0d62793a
18 changed files with 48 additions and 3 deletions
|
@ -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:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue