mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 20:48:19 +00:00
python312Packages.pynetdicom: disable failing tests on Python 3.12
This commit is contained in:
parent
8ee2d481ea
commit
286a5bf70f
@ -7,6 +7,7 @@
|
||||
pydicom,
|
||||
pyfakefs,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
sqlalchemy,
|
||||
@ -74,11 +75,16 @@ buildPythonPackage rec {
|
||||
disabledTestPaths = [
|
||||
# Ignore apps tests
|
||||
"pynetdicom/apps/tests/"
|
||||
] ++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# https://github.com/pydicom/pynetdicom/issues/924
|
||||
"pynetdicom/tests/test_assoc.py"
|
||||
"pynetdicom/tests/test_transport.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pynetdicom" ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# https://github.com/pydicom/pynetdicom/issues/923
|
||||
"-W"
|
||||
"ignore::pytest.PytestRemovedIn8Warning"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user