mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 22:51:21 +00:00
python3Packges.fritzconnection: pin to pytest 9.0.x
> __________ ERROR collecting fritzconnection/tests/test_core_utils.py ___________ > Duplicate parametrization IDs detected, but strict_parametrization_ids is set. > > Test name: fritzconnection/tests/test_core_utils.py::test_get_boolean_from_string > Parameters: value, expected_result > Parameter sets: ['true', True], ['false', False], ['wahr', None], ['falsch', None], ['None', None], [42, None], ['', None], [None, None] > IDs: true-True, false-False, wahr-None, falsch-None, None-None, 42-None, -None, None-None > Duplicates: None-None > > You can fix this problem using `@pytest.mark.parametrize(..., ids=...)` or `pytest.param(..., id=...)`.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pytest9_0CheckHook,
|
||||
requests,
|
||||
segno,
|
||||
setuptools,
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage (finalAttrs: {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest9_0CheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user