Commit 31c0eee6 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.debugpy: disable tests that fail on Darwin

parent b257877d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -136,6 +136,12 @@ buildPythonPackage rec {
    "test_systemexit"
  ];

  disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
    # ConnectionResetError: [Errno 54] Connection reset by peer
    "tests/debugpy/test_breakpoints.py::test_error_in_condition[program-attach_connect(cli)-]"
    "tests/debugpy/test_breakpoints.py::test_error_in_condition[program-attach_connect(cli)-NameError]"
  ];

  # Fixes hanging tests on Darwin
  __darwinAllowLocalNetworking = true;