File tree Expand file tree Collapse file tree
pkgs/development/python-modules/mocket Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4+ stdenv ,
45 fetchPypi ,
56
67 # build-system
@@ -78,15 +79,20 @@ buildPythonPackage rec {
7879
7980 _darwinAllowLocalNetworking = true ;
8081
81- disabledTests = [
82- # tests that require network access (like DNS lookups)
83- "test_truesendall_with_dump_from_recording"
84- "test_aiohttp"
85- "test_asyncio_record_replay"
86- "test_gethostbyname"
87- # httpx read failure
88- "test_no_dangling_fds"
89- ] ;
82+ disabledTests =
83+ [
84+ # tests that require network access (like DNS lookups)
85+ "test_truesendall_with_dump_from_recording"
86+ "test_aiohttp"
87+ "test_asyncio_record_replay"
88+ "test_gethostbyname"
89+ # httpx read failure
90+ "test_no_dangling_fds"
91+ ]
92+ ++ lib . optionals stdenv . hostPlatform . isDarwin [
93+ # fails on darwin due to upstream bug: https://github.com/mindflayer/python-mocket/issues/287
94+ "test_httprettish_httpx_session"
95+ ] ;
9096
9197 pythonImportsCheck = [ "mocket" ] ;
9298
You can’t perform that action at this time.
0 commit comments