mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python310Packages.cirq-google: disable failing tests
This commit is contained in:
parent
2d7b3699b3
commit
009f8ca222
@ -15,7 +15,6 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "protobuf~=3.13.0" "protobuf" \
|
||||
--replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev"
|
||||
'';
|
||||
|
||||
@ -29,4 +28,10 @@ buildPythonPackage rec {
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# unittest.mock.InvalidSpecError: Cannot autospec attr 'QuantumEngineServiceClient'
|
||||
"test_get_engine_sampler_explicit_project_id"
|
||||
"test_get_engine_sampler"
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user