python310Packages.websockets: disable failing test

a1a6f4a1fb already partially fixed this,
but missed the test in tests/asyncio/test_client.py
This commit is contained in:
teutat3s
2024-11-12 13:19:22 +01:00
parent 23bb92fdae
commit 0a3b14980c
@@ -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 ];