Commit 286a5bf7 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.pynetdicom: disable failing tests on Python 3.12

parent 8ee2d481
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"
  ];