Unverified Commit 0a3b1498 authored by teutat3s's avatar teutat3s
Browse files

python310Packages.websockets: disable failing test

a1a6f4a1 already partially fixed this,
but missed the test in tests/asyncio/test_client.py
parent 23bb92fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ buildPythonPackage rec {
    + lib.optionalString (pythonOlder "3.11") ''
      # Our Python 3.10 and older raise SSLError instead of SSLCertVerificationError
      sed -i "s/def test_reject_invalid_server_certificate(/def skip_test_reject_invalid_server_certificate(/" tests/sync/test_client.py
      sed -i "s/def test_reject_invalid_server_certificate(/def skip_test_reject_invalid_server_certificate(/" tests/asyncio/test_client.py
    '';

  nativeCheckInputs = [ unittestCheckHook ];