mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-02-04 22:39:33 +03:00
Run AVIF leak tests in own group to avoid exceeding memory limit locally
This commit is contained in:
parent
8a12470377
commit
3d09b1e4a6
|
|
@ -772,6 +772,7 @@ class TestAvifAnimation:
|
|||
MAX_THREADS = os.cpu_count() or 1
|
||||
|
||||
|
||||
@pytest.mark.xdist_group(name="leak-group")
|
||||
@skip_unless_feature("avif")
|
||||
class TestAvifLeaks(PillowLeakTestCase):
|
||||
mem_limit = MAX_THREADS * 3 * 1024
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ lint.isort.required-imports = [
|
|||
max_supported_python = "3.14"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-ra --color=auto --numprocesses=auto"
|
||||
addopts = "-ra --color=auto --numprocesses=auto --dist=loadgroup"
|
||||
testpaths = [
|
||||
"Tests",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user