python310Packages.cirq-google: disable failing tests

This commit is contained in:
Fabian Affolter 2022-01-11 10:29:45 +01:00
parent 2d7b3699b3
commit 009f8ca222

View file

@ -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"
];
}