>>> py3-pydantic-core: Building community/py3-pydantic-core 2.41.5-r0 (using abuild 3.18.0_rc7-r1) started Wed, 14 Oct 2026 04:18:49 +0000 >>> py3-pydantic-core: Validating /home/buildozer/aports/community/py3-pydantic-core/APKBUILD... >>> py3-pydantic-core: Analyzing dependencies... >>> py3-pydantic-core: Installing for build: build-base py3-typing-extensions py3-gpep517 py3-maturin py3-wheel py3-installer cargo py3-pytest py3-pytest-benchmark py3-pytest-mock py3-pytest-run-parallel py3-pytest-timeout py3-hypothesis py3-dirty-equals py3-typing-inspection py3-tzdata ( 1/68) Installing libbz2 (1.0.8-r6) ( 2/68) Installing libffi (3.8.0-r0) ( 3/68) Installing xz-libs (5.8.4-r0) ( 4/68) Installing mpdecimal (4.0.1-r0) ( 5/68) Installing libpanelw (6.6_p20260822-r0) ( 6/68) Installing readline (8.3.3-r1) ( 7/68) Installing sqlite-libs (3.54.0-r0) ( 8/68) Installing python3 (3.14.8-r0) ( 9/68) Installing python3-pycache-pyc0 (3.14.8-r0) (10/68) Installing pyc (3.14.8-r0) (11/68) Installing py3-typing-extensions-pyc (4.16.0-r0) (12/68) Installing python3-pyc (3.14.8-r0) (13/68) Installing py3-typing-extensions (4.16.0-r0) (14/68) Installing py3-installer (1.0.1-r0) (15/68) Installing py3-installer-pyc (1.0.1-r0) (16/68) Installing py3-gpep517 (20-r0) (17/68) Installing py3-gpep517-pyc (20-r0) (18/68) Installing maturin (1.14.1-r1) (19/68) Installing py3-maturin (1.14.1-r1) (20/68) Installing py3-maturin-pyc (1.14.1-r1) (21/68) Installing py3-parsing (3.3.3-r0) (22/68) Installing py3-parsing-pyc (3.3.3-r0) (23/68) Installing py3-packaging (26.2-r0) (24/68) Installing py3-packaging-pyc (26.2-r0) (25/68) Installing py3-wheel (0.48.0-r0) (26/68) Installing py3-wheel-pyc (0.48.0-r0) (27/68) Installing libxml2 (2.13.9-r2) (28/68) Installing llvm23-libs (23.1.3-r0) (29/68) Installing rust (1.99.0-r2) (30/68) Installing libssh2 (1.11.1-r3) (31/68) Installing cargo (1.99.0-r2) (32/68) Installing py3-iniconfig (2.3.0-r1) (33/68) Installing py3-iniconfig-pyc (2.3.0-r1) (34/68) Installing py3-pluggy (1.6.0-r1) (35/68) Installing py3-pluggy-pyc (1.6.0-r1) (36/68) Installing py3-py (1.11.0-r5) (37/68) Installing py3-py-pyc (1.11.0-r5) (38/68) Installing py3-pygments (2.21.0-r0) (39/68) Installing py3-pygments-pyc (2.21.0-r0) (40/68) Installing py3-pytest (9.1.1-r1) (41/68) Installing py3-pytest-pyc (9.1.1-r1) (42/68) Installing py3-py-cpuinfo (9.0.0-r5) (43/68) Installing py3-py-cpuinfo-pyc (9.0.0-r5) (44/68) Installing py3-pytest-benchmark (4.0.0-r5) (45/68) Installing py3-pytest-benchmark-pyc (4.0.0-r5) (46/68) Installing py3-mock (5.2.0-r1) (47/68) Installing py3-mock-pyc (5.2.0-r1) (48/68) Installing py3-pytest-mock (3.16.0-r0) (49/68) Installing py3-pytest-mock-pyc (3.16.0-r0) (50/68) Installing py3-pytest-run-parallel (0.10.0-r0) (51/68) Installing py3-pytest-run-parallel-pyc (0.10.0-r0) (52/68) Installing py3-pytest-timeout (2.4.0-r2) (53/68) Installing py3-pytest-timeout-pyc (2.4.0-r2) (54/68) Installing py3-attrs (26.1.0-r0) (55/68) Installing py3-attrs-pyc (26.1.0-r0) (56/68) Installing py3-sortedcontainers (2.4.0-r6) (57/68) Installing py3-sortedcontainers-pyc (2.4.0-r6) (58/68) Installing py3-hypothesis (6.151.12-r0) (59/68) Installing py3-hypothesis-pyc (6.151.12-r0) (60/68) Installing py3-tz (2026.4-r0) (61/68) Installing py3-tz-pyc (2026.4-r0) (62/68) Installing py3-dirty-equals (0.11.0-r0) (63/68) Installing py3-dirty-equals-pyc (0.11.0-r0) (64/68) Installing py3-typing-inspection (0.4.4-r0) (65/68) Installing py3-typing-inspection-pyc (0.4.4-r0) (66/68) Installing py3-tzdata (2026.4-r0) (67/68) Installing py3-tzdata-pyc (2026.4-r0) (68/68) Installing .makedepends-py3-pydantic-core (20261014.041904) Executing busybox-1.38.0-r7.trigger OK: 783.1 MiB in 171 packages >>> py3-pydantic-core: Cleaning up srcdir >>> py3-pydantic-core: Cleaning up pkgdir >>> py3-pydantic-core: Cleaning up tmpdir >>> py3-pydantic-core: Fetching https://distfiles.alpinelinux.org/distfiles/v3.25/py3-pydantic-core-2.41.5.tar.gz /var/cache/distfiles/v3.25/py3-pydantic-core-2.41.5.tar.gz: OK >>> py3-pydantic-core: Fetching https://distfiles.alpinelinux.org/distfiles/v3.25/py3-pydantic-core-2.41.5.tar.gz /var/cache/distfiles/v3.25/py3-pydantic-core-2.41.5.tar.gz: OK >>> py3-pydantic-core: Unpacking /var/cache/distfiles/v3.25/py3-pydantic-core-2.41.5.tar.gz... Updating crates.io index Downloading crates ... Downloaded version_check v0.9.5 Downloaded stable_deref_trait v1.2.0 Downloaded zerofrom-derive v0.1.4 Downloaded zerovec-derive v0.10.3 Downloaded yoke-derive v0.7.4 Downloaded serde v1.0.228 Downloaded zerofrom v0.1.4 Downloaded synstructure v0.13.1 Downloaded yoke v0.7.4 Downloaded icu_provider_macros v1.5.0 Downloaded unindent v0.2.3 Downloaded displaydoc v0.2.5 Downloaded icu_locid_transform v1.5.0 Downloaded utf16_iter v1.0.5 Downloaded radium v0.7.0 Downloaded form_urlencoded v1.2.1 Downloaded tinystr v0.7.6 Downloaded writeable v0.5.5 Downloaded memoffset v0.9.1 Downloaded hex v0.4.3 Downloaded wasm-bindgen-macro v0.2.100 Downloaded wasm-bindgen-macro-support v0.2.100 Downloaded percent-encoding v2.3.2 Downloaded zerovec v0.10.4 Downloaded heck v0.5.0 Downloaded strum v0.27.2 Downloaded itoa v1.0.11 Downloaded pyo3-macros v0.26.0 Downloaded indoc v2.0.5 Downloaded tap v1.0.1 Downloaded funty v2.0.0 Downloaded wit-bindgen-rt v0.39.0 Downloaded wasm-bindgen-shared v0.2.100 Downloaded quote v1.0.36 Downloaded rustversion v1.0.17 Downloaded cfg-if v1.0.0 Downloaded utf8_iter v1.0.4 Downloaded smallvec v1.15.1 Downloaded idna_adapter v1.2.0 Downloaded litemap v0.7.3 Downloaded write16 v1.0.0 Downloaded strum_macros v0.27.2 Downloaded static_assertions v1.1.0 Downloaded lexical-parse-integer v1.0.5 Downloaded serde_json v1.0.145 Downloaded ryu v1.0.18 Downloaded target-lexicon v0.13.2 Downloaded autocfg v1.3.0 Downloaded num-integer v0.1.46 Downloaded wyz v0.5.1 Downloaded ahash v0.8.12 Downloaded bitflags v2.9.1 Downloaded enum_dispatch v0.3.13 Downloaded unicode-ident v1.0.12 Downloaded wasm-bindgen-backend v0.2.100 Downloaded once_cell v1.21.3 Downloaded serde_derive v1.0.228 Downloaded serde_core v1.0.228 Downloaded icu_provider v1.5.0 Downloaded icu_locid v1.5.0 Downloaded icu_normalizer_data v1.5.0 Downloaded speedate v0.17.0 Downloaded pyo3-build-config v0.26.0 Downloaded getrandom v0.3.3 Downloaded r-efi v5.2.0 Downloaded uuid v1.18.1 Downloaded wasm-bindgen v0.2.100 Downloaded log v0.4.27 Downloaded js-sys v0.3.77 Downloaded icu_properties v1.5.1 Downloaded icu_locid_transform_data v1.5.0 Downloaded icu_normalizer v1.5.0 Downloaded memchr v2.7.4 Downloaded pyo3-macros-backend v0.26.0 Downloaded num-traits v0.2.19 Downloaded base64 v0.22.1 Downloaded proc-macro2 v1.0.86 Downloaded bumpalo v3.19.0 Downloaded url v2.5.4 Downloaded python3-dll-a v0.2.14 Downloaded cc v1.0.101 Downloaded zerocopy-derive v0.8.25 Downloaded icu_collections v1.5.0 Downloaded pyo3-ffi v0.26.0 Downloaded num-bigint v0.4.6 Downloaded lexical-util v1.0.6 Downloaded regex v1.12.2 Downloaded portable-atomic v1.6.0 Downloaded aho-corasick v1.1.3 Downloaded jiter v0.11.1 Downloaded idna v1.1.0 Downloaded wasi v0.14.2+wasi-0.2.4 Downloaded lexical-parse-float v1.0.5 Downloaded zerocopy v0.8.25 Downloaded bitvec v1.0.1 Downloaded icu_properties_data v1.5.0 Downloaded syn v2.0.82 Downloaded regex-syntax v0.8.5 Downloaded regex-automata v0.4.13 Downloaded libc v0.2.155 Downloaded pyo3 v0.26.0 2026-10-14 04:19:10,658 gpep517 INFO Building wheel via backend maturin Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off --frozen` 🍹 Building a mixed python/rust project 🐍 Found CPython 3.14 at /usr/bin/python3 🔗 Found pyo3 bindings 📡 Using build options bindings from pyproject.toml Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling target-lexicon v0.13.2 Compiling python3-dll-a v0.2.14 Compiling stable_deref_trait v1.2.0 Compiling autocfg v1.3.0 Compiling writeable v0.5.5 Compiling litemap v0.7.3 Compiling libc v0.2.155 Compiling heck v0.5.0 Compiling icu_locid_transform_data v1.5.0 Compiling version_check v0.9.5 Compiling icu_properties_data v1.5.0 Compiling static_assertions v1.1.0 Compiling smallvec v1.15.1 Compiling memchr v2.7.4 Compiling serde_core v1.0.228 Compiling getrandom v0.3.3 Compiling zerocopy v0.8.25 Compiling radium v0.7.0 Compiling icu_normalizer_data v1.5.0 Compiling write16 v1.0.0 Compiling utf8_iter v1.0.4 Compiling utf16_iter v1.0.5 Compiling once_cell v1.21.3 Compiling tap v1.0.1 Compiling cfg-if v1.0.0 Compiling serde_json v1.0.145 Compiling regex-syntax v0.8.5 Compiling percent-encoding v2.3.2 Compiling serde v1.0.228 Compiling unindent v0.2.3 Compiling funty v2.0.0 Compiling indoc v2.0.5 Compiling ryu v1.0.18 Compiling itoa v1.0.11 Compiling base64 v0.22.1 Compiling uuid v1.18.1 Compiling hex v0.4.3 Compiling lexical-util v1.0.6 Compiling wyz v0.5.1 Compiling form_urlencoded v1.2.1 Compiling ahash v0.8.12 Compiling num-traits v0.2.19 Compiling memoffset v0.9.1 Compiling aho-corasick v1.1.3 Compiling bitvec v1.0.1 Compiling quote v1.0.36 Compiling pyo3-build-config v0.26.0 Compiling syn v2.0.82 Compiling lexical-parse-integer v1.0.5 Compiling lexical-parse-float v1.0.5 Compiling num-integer v0.1.46 Compiling num-bigint v0.4.6 Compiling pyo3-macros-backend v0.26.0 Compiling pyo3-ffi v0.26.0 Compiling pyo3 v0.26.0 Compiling jiter v0.11.1 Compiling pydantic-core v2.41.5 (/home/buildozer/aports/community/py3-pydantic-core/src/pydantic-core-2.41.5) Compiling regex-automata v0.4.13 Compiling regex v1.12.2 Compiling synstructure v0.13.1 Compiling zerofrom-derive v0.1.4 Compiling yoke-derive v0.7.4 Compiling zerovec-derive v0.10.3 Compiling displaydoc v0.2.5 Compiling icu_provider_macros v1.5.0 Compiling strum_macros v0.27.2 Compiling serde_derive v1.0.228 Compiling enum_dispatch v0.3.13 Compiling zerofrom v0.1.4 Compiling yoke v0.7.4 Compiling zerovec v0.10.4 Compiling strum v0.27.2 Compiling speedate v0.17.0 Compiling tinystr v0.7.6 Compiling icu_collections v1.5.0 Compiling icu_locid v1.5.0 Compiling icu_provider v1.5.0 Compiling pyo3-macros v0.26.0 Compiling icu_locid_transform v1.5.0 Compiling icu_properties v1.5.1 Compiling icu_normalizer v1.5.0 Compiling idna_adapter v1.2.0 Compiling idna v1.1.0 Compiling url v2.5.4 warning: type `LookupKey` is more private than the item `KeywordArgs::get_item` --> src/input/input_abstract.rs:226:5 | 226 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KeywordArgs::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default warning: type `LookupPath` is more private than the item `KeywordArgs::get_item` --> src/input/input_abstract.rs:226:5 | 226 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `KeywordArgs::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item `ValidatedDict::get_item` --> src/input/input_abstract.rs:246:5 | 246 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ValidatedDict::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item `ValidatedDict::get_item` --> src/input/input_abstract.rs:246:5 | 246 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ValidatedDict::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item `>::get_item` --> src/input/input_abstract.rs:288:5 | 288 | fn get_item<'k>(&self, _key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item `>::get_item` --> src/input/input_abstract.rs:288:5 | 288 | fn get_item<'k>(&self, _key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item `>::get_item` --> src/input/input_abstract.rs:374:5 | 374 | fn get_item<'k>(&self, _key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item `>::get_item` --> src/input/input_abstract.rs:374:5 | 374 | fn get_item<'k>(&self, _key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item `input_json:: for &Arc, JsonValue<'data>)>>>::get_item` --> src/input/input_json.rs:584:5 | 584 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `input_json:: for &Arc, JsonValue<'data>)>>>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item `input_json:: for &Arc, JsonValue<'data>)>>>::get_item` --> src/input/input_json.rs:584:5 | 584 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `input_json:: for &Arc, JsonValue<'data>)>>>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item `input_json:: for Arc, JsonValue<'data>)>>>::get_item` --> src/input/input_json.rs:694:5 | 694 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `input_json:: for Arc, JsonValue<'data>)>>>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item `input_json:: for Arc, JsonValue<'data>)>>>::get_item` --> src/input/input_json.rs:694:5 | 694 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `input_json:: for Arc, JsonValue<'data>)>>>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item ` as KeywordArgs<'py>>::get_item` --> src/input/input_python.rs:832:5 | 832 | / fn get_item<'k>( 833 | | &self, 834 | | key: &'k crate::lookup_key::LookupKey, 835 | | ) -> ValResult)>> { | |_______________________________________________________________________________^ method ` as KeywordArgs<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item ` as KeywordArgs<'py>>::get_item` --> src/input/input_python.rs:832:5 | 832 | / fn get_item<'k>( 833 | | &self, 834 | | key: &'k crate::lookup_key::LookupKey, 835 | | ) -> ValResult)>> { | |_______________________________________________________________________________^ method ` as KeywordArgs<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item ` as ValidatedDict<'py>>::get_item` --> src/input/input_python.rs:862:5 | 862 | / fn get_item<'k>( 863 | | &self, 864 | | key: &'k crate::lookup_key::LookupKey, 865 | | ) -> ValResult)>> { | |_______________________________________________________________________________^ method ` as ValidatedDict<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item ` as ValidatedDict<'py>>::get_item` --> src/input/input_python.rs:862:5 | 862 | / fn get_item<'k>( 863 | | &self, 864 | | key: &'k crate::lookup_key::LookupKey, 865 | | ) -> ValResult)>> { | |_______________________________________________________________________________^ method ` as ValidatedDict<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item ` as KeywordArgs<'py>>::get_item` --> src/input/input_string.rs:295:5 | 295 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as KeywordArgs<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item ` as KeywordArgs<'py>>::get_item` --> src/input/input_string.rs:295:5 | 295 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as KeywordArgs<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupKey` is more private than the item ` as ValidatedDict<'py>>::get_item` --> src/input/input_string.rs:316:5 | 316 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as ValidatedDict<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupKey` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:18:1 | 18 | pub(crate) enum LookupKey { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `LookupPath` is more private than the item ` as ValidatedDict<'py>>::get_item` --> src/input/input_string.rs:316:5 | 316 | fn get_item<'k>(&self, key: &'k LookupKey) -> ValResult)>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as ValidatedDict<'py>>::get_item` is reachable at visibility `pub` | note: but type `LookupPath` is only usable at visibility `pub(crate)` --> src/lookup_key.rs:303:1 | 303 | pub(crate) struct LookupPath { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: `pydantic-core` (lib) generated 20 warnings Finished `release` profile [optimized] target(s) in 2m 12s 📦 Built wheel for CPython 3.14 to /home/buildozer/aports/community/py3-pydantic-core/src/pydantic-core-2.41.5/target/wheels/pydantic_core-2.41.5-cp314-cp314-linux_armv8l.whl /home/buildozer/aports/community/py3-pydantic-core/src/pydantic-core-2.41.5/target/wheels/pydantic_core-2.41.5-cp314-cp314-linux_armv8l.whl 2026-10-14 04:21:23,961 gpep517 INFO The backend produced .dist/pydantic_core-2.41.5-cp314-cp314-linux_armv8l.whl pydantic_core-2.41.5-cp314-cp314-linux_armv8l.whl ============================= test session starts ============================== platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=True warmup_iterations=100000) rootdir: /home/buildozer/aports/community/py3-pydantic-core/src/pydantic-core-2.41.5 configfile: pyproject.toml testpaths: tests plugins: run-parallel-0.10.0, benchmark-4.0.0, timeout-2.4.0, mock-3.16.0, hypothesis-6.151.12 timeout: 30.0s timeout method: signal timeout func_only: False collected 5874 items Collected 0 items to run in parallel tests/benchmarks/test_complete_benchmark.py ............ [ 0%] tests/benchmarks/test_micro_benchmarks.py EEEE.......................... [ 0%] ........EEEEEEEEEE......EEEEEEEE........................................ [ 1%] ......EE....... [ 2%] tests/benchmarks/test_nested_benchmark.py .. [ 2%] tests/benchmarks/test_serialization_micro.py EEE........................ [ 2%] ....... [ 2%] tests/serializers/test_any.py ...............................s.......... [ 3%] .........................................s................. [ 4%] tests/serializers/test_bytes.py ................ [ 4%] tests/serializers/test_complex.py .......... [ 4%] tests/serializers/test_dataclasses.py .....x.......... [ 5%] tests/serializers/test_datetime.py ................................ [ 5%] tests/serializers/test_decimal.py ....... [ 5%] tests/serializers/test_definitions.py ....... [ 6%] tests/serializers/test_definitions_recursive.py ..... [ 6%] tests/serializers/test_dict.py ............................ [ 6%] tests/serializers/test_enum.py ..... [ 6%] tests/serializers/test_format.py ............... [ 6%] tests/serializers/test_functions.py ................................ [ 7%] tests/serializers/test_generator.py ...... [ 7%] tests/serializers/test_infer.py ... [ 7%] tests/serializers/test_json.py .... [ 7%] tests/serializers/test_json_or_python.py .. [ 7%] tests/serializers/test_list_tuple.py ................................... [ 8%] ............................ [ 8%] tests/serializers/test_literal.py ...... [ 8%] tests/serializers/test_model.py ........................................ [ 9%] ........................... [ 10%] tests/serializers/test_model_root.py ........ [ 10%] tests/serializers/test_none.py ............................ [ 10%] tests/serializers/test_nullable.py . [ 10%] tests/serializers/test_other.py ....... [ 10%] tests/serializers/test_pickling.py ...... [ 10%] tests/serializers/test_serialize_as_any.py ............ [ 11%] tests/serializers/test_set_frozenset.py ....... [ 11%] tests/serializers/test_simple.py ..........................s............ [ 11%] [ 11%] tests/serializers/test_string.py ........................ [ 12%] tests/serializers/test_timedelta.py ...s................................ [ 12%] ............................................... [ 13%] tests/serializers/test_typed_dict.py ................................... [ 14%] .. [ 14%] tests/serializers/test_union.py ........................................ [ 15%] .................................................................. [ 16%] tests/serializers/test_url.py .......... [ 16%] tests/serializers/test_uuid.py ....... [ 16%] tests/test_build.py ......... [ 16%] tests/test_config.py .............. [ 16%] tests/test_custom_errors.py .... [ 16%] tests/test_docstrings.py ss [ 16%] tests/test_errors.py ................................................... [ 17%] ........................................................................ [ 19%] .......................................s............................... [ 20%] tests/test_garbage_collection.py ... [ 20%] tests/test_hypothesis.py ........... [ 20%] tests/test_isinstance.py ...... [ 20%] tests/test_json.py .................................................. [ 21%] tests/test_misc.py ................ [ 21%] tests/test_prebuilt.py ....... [ 21%] tests/test_schema_functions.py ......................................... [ 22%] ...................................... [ 23%] tests/test_strict.py .................................... [ 23%] tests/test_typing.py .......... [ 23%] tests/test_tzinfo.py .............. [ 24%] tests/test_validate_strings.py ..................... [ 24%] tests/test_validation_context.py ........... [ 24%] tests/validators/arguments_v3/test_alias.py .....sss.........sssss...s.s [ 25%] ........................................................................ [ 26%] ........s [ 26%] tests/validators/arguments_v3/test_build_errors.py ...... [ 26%] tests/validators/arguments_v3/test_extra.py ........ssss........ss.. [ 27%] tests/validators/arguments_v3/test_general.py ....s.ss......ssss...s...s [ 27%] . [ 27%] tests/validators/arguments_v3/test_keyword_only.py ....ss....s...s. [ 27%] tests/validators/arguments_v3/test_positional_only.py ....ss...s.s [ 28%] tests/validators/arguments_v3/test_positional_or_keyword.py ......ssss.. [ 28%] ...ss...s. [ 28%] tests/validators/arguments_v3/test_var_args.py .....ss.......ss.... [ 28%] tests/validators/arguments_v3/test_var_kwargs_uniform.py ....ss......ss. [ 28%] ... [ 29%] tests/validators/arguments_v3/test_var_kwargs_unpacked_typed_dict.py ... [ 29%] ........sssss........ [ 29%] tests/validators/test_arguments.py ..............s..s....s.........s.sss [ 30%] ssss........ssssss.................sss......s..s.............s...sss.... [ 31%] .s...s......ssss......sss....ssss...sss.....sssss.s.s................... [ 32%] .....................................................................s [ 33%] tests/validators/test_bool.py ....................................... [ 34%] tests/validators/test_bytes.py ............................ [ 34%] tests/validators/test_call.py .......................... [ 35%] tests/validators/test_callable.py .............. [ 35%] tests/validators/test_chain.py ............ [ 35%] tests/validators/test_complex.py ....................................... [ 36%] .... [ 36%] tests/validators/test_custom_error.py ..... [ 36%] tests/validators/test_dataclasses.py .......s..sss........sssss......s.. [ 37%] ........................................................................ [ 38%] ........................................................................ [ 39%] ....................................................................s. [ 40%] tests/validators/test_date.py .......................................... [ 41%] ........................................................................ [ 42%] ....... [ 42%] tests/validators/test_datetime.py ...................................... [ 43%] ........................................................................ [ 44%] ............ [ 44%] tests/validators/test_decimal.py ....................................... [ 45%] ........................................................................ [ 46%] ........................................................................ [ 48%] ........................................................................ [ 49%] ........................................................................ [ 50%] ................ [ 50%] tests/validators/test_definitions.py ........... [ 50%] tests/validators/test_definitions_recursive.py ......................... [ 51%] ........... [ 51%] tests/validators/test_dict.py .................................... [ 52%] tests/validators/test_enums.py ..................s.... [ 52%] tests/validators/test_float.py ......................................... [ 53%] ........................................................................ [ 54%] ........................................................................ [ 55%] ........................................................................ [ 56%] ................................................................. [ 58%] tests/validators/test_frozenset.py ..................................... [ 58%] .................................... [ 59%] tests/validators/test_function.py ...................................... [ 59%] .................... [ 60%] tests/validators/test_generator.py ..................................... [ 60%] . [ 60%] tests/validators/test_int.py ........................................... [ 61%] ........................................................................ [ 62%] ........................................................................ [ 64%] .................................................... [ 65%] tests/validators/test_is_instance.py ................................. [ 65%] tests/validators/test_is_subclass.py .............. [ 65%] tests/validators/test_json.py ................................. [ 66%] tests/validators/test_json_or_python.py . [ 66%] tests/validators/test_lax_or_strict.py .. [ 66%] tests/validators/test_list.py .......................................... [ 67%] ...................................................... [ 68%] tests/validators/test_literal.py ....................................... [ 68%] ....... [ 68%] tests/validators/test_model.py ......................................... [ 69%] ..s. [ 69%] tests/validators/test_model_fields.py .................................. [ 70%] ........................................................................ [ 71%] ........................................................................ [ 72%] ........................................................................ [ 73%] ..........................................................s [ 74%] tests/validators/test_model_init.py .............. [ 75%] tests/validators/test_model_root.py ......... [ 75%] tests/validators/test_none.py .. [ 75%] tests/validators/test_nullable.py ... [ 75%] tests/validators/test_pickling.py .... [ 75%] tests/validators/test_set.py ........................................... [ 76%] ................................. [ 76%] tests/validators/test_string.py ........................................ [ 77%] ...................................................................... [ 78%] tests/validators/test_tagged_union.py .................................. [ 79%] .............. [ 79%] tests/validators/test_time.py .......................................... [ 80%] ........................................... [ 80%] tests/validators/test_timedelta.py ..................................... [ 81%] ..............................................s [ 82%] tests/validators/test_tuple.py ......................................... [ 82%] ................................................ [ 83%] tests/validators/test_typed_dict.py .................................... [ 84%] ........................................................................ [ 85%] ........................................................................ [ 86%] ........................................................................ [ 88%] ..s [ 88%] tests/validators/test_union.py ....................EEEEEEE.............. [ 88%] ............x.............................. [ 89%] tests/validators/test_url.py ........................................... [ 90%] ........................................................................ [ 91%] ........................................................................ [ 92%] ........................................................................ [ 93%] ........................................................................ [ 95%] ....................................xx..xxx.x........ [ 96%] tests/validators/test_uuid.py .......................................... [ 96%] ....................................................... [ 97%] tests/validators/test_with_default.py .................................. [ 98%] ........................................................................ [ 99%] ....................x...x. [100%] ==================================== ERRORS ==================================== ________ ERROR at setup of TestBenchmarkSimpleModel.test_core_python_fs ________ cls = func = . at 0xf46ca398> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning _________ ERROR at setup of TestBenchmarkSimpleModel.test_core_json_fs _________ cls = func = . at 0xf41e9ce0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ______________ ERROR at setup of TestModelLarge.test_core_python _______________ cls = func = . at 0xf3875448> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ______________ ERROR at setup of TestModelLarge.test_core_json_fs ______________ cls = func = . at 0xf3875c30> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ___________ ERROR at setup of TestBenchmarkDateTime.test_core_python ___________ cls = func = . at 0xf3ca2238> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning _________ ERROR at setup of TestBenchmarkDateTime.test_model_core_json _________ cls = func = . at 0xf3ca27b8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ____________ ERROR at setup of TestBenchmarkDateTime.test_core_raw _____________ cls = func = . at 0xf3c88a20> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ____________ ERROR at setup of TestBenchmarkDateTime.test_core_str _____________ cls = func = . at 0xf3c883f0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ___________ ERROR at setup of TestBenchmarkDateTime.test_core_future ___________ cls = func = . at 0xf3c88f48> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _________ ERROR at setup of TestBenchmarkDateTime.test_core_future_str _________ cls = func = . at 0xf3e01ef0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ___________ ERROR at setup of TestBenchmarkDateX.test_date_from_date ___________ cls = func = . at 0xf3e01340> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ___________ ERROR at setup of TestBenchmarkDateX.test_date_from_str ____________ cls = func = . at 0xf3ddeb28> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _________ ERROR at setup of TestBenchmarkDateX.test_date_from_datetime _________ cls = func = . at 0xf3dde448> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _______ ERROR at setup of TestBenchmarkDateX.test_date_from_datetime_str _______ cls = func = . at 0xf3fe2e40> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ________ ERROR at setup of TestBenchmarkUUID.test_uuid_from_string_core ________ cls = func = . at 0xf3fe24f8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ________ ERROR at setup of TestBenchmarkUUID.test_uuid_from_string_pyd _________ cls = func = . at 0xf3fc0de8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning _________ ERROR at setup of TestBenchmarkUUID.test_uuid_from_uuid_core _________ cls = func = . at 0xf3fd8600> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _________ ERROR at setup of TestBenchmarkUUID.test_uuid_from_uuid_pyd __________ cls = func = . at 0xf3fd89c8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _____________ ERROR at setup of TestBenchmarkUUID.test_core_python _____________ cls = func = . at 0xf4248868> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ___________ ERROR at setup of TestBenchmarkUUID.test_model_core_json ___________ cls = func = . at 0xf4248e98> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ______________ ERROR at setup of TestBenchmarkUUID.test_core_raw _______________ cls = func = . at 0xf3fd8f48> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ______________ ERROR at setup of TestBenchmarkUUID.test_core_str _______________ cls = func = . at 0xf423b550> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _____ ERROR at setup of TestBenchmarkDecimal.test_decimal_from_string_core _____ cls = func = . at 0xf4203b28> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning _____ ERROR at setup of TestBenchmarkDecimal.test_decimal_from_string_pyd ______ cls = func = . at 0xf421a918> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning __________ ERROR at setup of TestBenchmarkSimpleModel.test_core_dict ___________ cls = func = . at 0xf420f4a0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning _______ ERROR at setup of TestBenchmarkSimpleModel.test_core_dict_filter _______ cls = func = . at 0xf3d485a8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError __________ ERROR at setup of TestBenchmarkSimpleModel.test_core_json ___________ cls = func = . at 0xf3d48bd8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ________________ ERROR at setup of TestModelClass.test_model_a _________________ cls = func = . at 0xf30f7340> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ________________ ERROR at setup of TestModelClass.test_model_b _________________ cls = func = . at 0xf30fb760> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError ______________ ERROR at setup of TestModelClass.test_exact_check _______________ cls = func = . at 0xf30fb600> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _________________ ERROR at setup of TestModelClass.test_error __________________ cls = func = . at 0xf312fef0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _____________ ERROR at setup of TestModelClassSimilar.test_model_a _____________ cls = func = . at 0xf312f6b0> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1181: in execute fixturedef = request._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: in resolve_fixture_function warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) /usr/lib/python3.14/site-packages/_pytest/runner.py:361: in from_call result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = request = > def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning ________ ERROR at setup of TestModelClassSimilar.test_model_b_preferred ________ cls = func = . at 0xf3129918> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError _______ ERROR at setup of TestModelClassSimilar.test_model_b_not_ignored _______ cls = func = . at 0xf31199c8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/_pytest/runner.py:250: in lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3.14/site-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3.14/site-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3.14/site-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3.14/site-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3.14/site-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it # (which will likely include this fixture) setting `self.cached_result = None`. # See #4871 requested_fixtures_that_should_finalize_us = [] for argname in self.argnames: fixturedef = request._get_active_fixturedef(argname) # Saves requested fixtures in a list so we later can add our finalizer # to them, ensuring that if a requested fixture gets torn down we get torn # down first. This is generally handled by SetupState, but still currently # needed when this fixture is not parametrized but depends on a parametrized # fixture. requested_fixtures_that_should_finalize_us.append(fixturedef) # Check for (and return) cached value/exception. if self.cached_result is not None: request_cache_key = self.cache_key(request) cache_key = self.cached_result[1] try: # Attempt to make a normal == check: this might fail for objects # which do not implement the standard comparison (like numpy arrays -- #6497). cache_hit = bool(request_cache_key == cache_key) except (ValueError, RuntimeError): # If the comparison raises, use 'is' as fallback. cache_hit = request_cache_key is cache_key if cache_hit: if self.cached_result[2] is not None: exc, exc_tb = self.cached_result[2] raise exc.with_traceback(exc_tb) else: return self.cached_result[0] # We have a previous but differently parametrized fixture instance # so we need to tear it down before creating a new one. self.finish(request) assert self.cached_result is None # Add finalizer to requested fixtures we saved previously. # We make sure to do this after checking for cached value to avoid # adding our finalizer multiple times. (#12135) finalizer = functools.partial(self.finish, request=request) for parent_fixture in requested_fixtures_that_should_finalize_us: parent_fixture.addfinalizer(finalizer) # Register the pytest_fixture_post_finalizer as the first finalizer, # which is executed last. > assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ E AssertionError /usr/lib/python3.14/site-packages/_pytest/fixtures.py:1221: AssertionError =========================== short test summary info ============================ ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel::test_core_python_fs ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel::test_core_json_fs ERROR tests/benchmarks/test_micro_benchmarks.py::TestModelLarge::test_core_python ERROR tests/benchmarks/test_micro_benchmarks.py::TestModelLarge::test_core_json_fs ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_python ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_model_core_json ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_raw ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_str ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_future ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_future_str ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_date ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_str ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datetime ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datetime_str ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_string_core ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_string_pyd ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_uuid_core ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_uuid_pyd ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_python ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_model_core_json ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_raw ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_str ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal::test_decimal_from_string_core ERROR tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal::test_decimal_from_string_pyd ERROR tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_dict ERROR tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_dict_filter ERROR tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_json ERROR tests/validators/test_union.py::TestModelClass::test_model_a - pytest.P... ERROR tests/validators/test_union.py::TestModelClass::test_model_b - Assertio... ERROR tests/validators/test_union.py::TestModelClass::test_exact_check - Asse... ERROR tests/validators/test_union.py::TestModelClass::test_error - AssertionE... ERROR tests/validators/test_union.py::TestModelClassSimilar::test_model_a - p... ERROR tests/validators/test_union.py::TestModelClassSimilar::test_model_b_preferred ERROR tests/validators/test_union.py::TestModelClassSimilar::test_model_b_not_ignored ========== 5703 passed, 127 skipped, 10 xfailed, 34 errors in 41.97s =========== >>> ERROR: py3-pydantic-core: check failed >>> py3-pydantic-core: Uninstalling dependencies... ( 1/68) Purging .makedepends-py3-pydantic-core (20261014.041904) ( 2/68) Purging py3-gpep517-pyc (20-r0) ( 3/68) Purging py3-gpep517 (20-r0) ( 4/68) Purging py3-maturin-pyc (1.14.1-r1) ( 5/68) Purging py3-maturin (1.14.1-r1) ( 6/68) Purging maturin (1.14.1-r1) ( 7/68) Purging py3-wheel-pyc (0.48.0-r0) ( 8/68) Purging py3-wheel (0.48.0-r0) ( 9/68) Purging py3-installer-pyc (1.0.1-r0) (10/68) Purging py3-installer (1.0.1-r0) (11/68) Purging cargo (1.99.0-r2) (12/68) Purging rust (1.99.0-r2) (13/68) Purging py3-pytest-benchmark-pyc (4.0.0-r5) (14/68) Purging py3-pytest-benchmark (4.0.0-r5) (15/68) Purging py3-py-cpuinfo-pyc (9.0.0-r5) (16/68) Purging py3-py-cpuinfo (9.0.0-r5) (17/68) Purging py3-pytest-mock-pyc (3.16.0-r0) (18/68) Purging py3-pytest-mock (3.16.0-r0) (19/68) Purging py3-mock-pyc (5.2.0-r1) (20/68) Purging py3-mock (5.2.0-r1) (21/68) Purging py3-pytest-run-parallel-pyc (0.10.0-r0) (22/68) Purging py3-pytest-run-parallel (0.10.0-r0) (23/68) Purging py3-pytest-timeout-pyc (2.4.0-r2) (24/68) Purging py3-pytest-timeout (2.4.0-r2) (25/68) Purging py3-pytest-pyc (9.1.1-r1) (26/68) Purging py3-pytest (9.1.1-r1) (27/68) Purging py3-iniconfig-pyc (2.3.0-r1) (28/68) Purging py3-iniconfig (2.3.0-r1) (29/68) Purging py3-packaging-pyc (26.2-r0) (30/68) Purging py3-packaging (26.2-r0) (31/68) Purging py3-parsing-pyc (3.3.3-r0) (32/68) Purging py3-parsing (3.3.3-r0) (33/68) Purging py3-pluggy-pyc (1.6.0-r1) (34/68) Purging py3-pluggy (1.6.0-r1) (35/68) Purging py3-py-pyc (1.11.0-r5) (36/68) Purging py3-py (1.11.0-r5) (37/68) Purging py3-pygments-pyc (2.21.0-r0) (38/68) Purging py3-pygments (2.21.0-r0) (39/68) Purging py3-hypothesis-pyc (6.151.12-r0) (40/68) Purging py3-hypothesis (6.151.12-r0) (41/68) Purging py3-sortedcontainers-pyc (2.4.0-r6) (42/68) Purging py3-sortedcontainers (2.4.0-r6) (43/68) Purging py3-dirty-equals-pyc (0.11.0-r0) (44/68) Purging py3-dirty-equals (0.11.0-r0) (45/68) Purging py3-tz-pyc (2026.4-r0) (46/68) Purging py3-tz (2026.4-r0) (47/68) Purging py3-typing-inspection-pyc (0.4.4-r0) (48/68) Purging py3-typing-inspection (0.4.4-r0) (49/68) Purging py3-typing-extensions-pyc (4.16.0-r0) (50/68) Purging py3-typing-extensions (4.16.0-r0) (51/68) Purging py3-tzdata-pyc (2026.4-r0) (52/68) Purging py3-tzdata (2026.4-r0) (53/68) Purging py3-attrs-pyc (26.1.0-r0) (54/68) Purging py3-attrs (26.1.0-r0) (55/68) Purging python3-pyc (3.14.8-r0) (56/68) Purging python3-pycache-pyc0 (3.14.8-r0) (57/68) Purging pyc (3.14.8-r0) (58/68) Purging python3 (3.14.8-r0) (59/68) Purging libbz2 (1.0.8-r6) (60/68) Purging libpanelw (6.6_p20260822-r0) (61/68) Purging libssh2 (1.11.1-r3) (62/68) Purging llvm23-libs (23.1.3-r0) (63/68) Purging mpdecimal (4.0.1-r0) (64/68) Purging readline (8.3.3-r1) (65/68) Purging sqlite-libs (3.54.0-r0) (66/68) Purging libffi (3.8.0-r0) (67/68) Purging libxml2 (2.13.9-r2) (68/68) Purging xz-libs (5.8.4-r0) Executing busybox-1.38.0-r7.trigger OK: 343.2 MiB in 103 packages