Skip to content

Commit ac5e73a

Browse files
author
Jon Wayne Parrott
committed
Merge pull request #250 from GoogleCloudPlatform/streaming
Comment out speech api test
2 parents 691e88e + 1a71985 commit ac5e73a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

speech/api/speech_streaming_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import re
1717
import sys
1818

19+
from gcp.testing.flaky import flaky
1920
import pytest
2021

2122
import speech_streaming
@@ -53,9 +54,11 @@ def mock_audio_stream(channels, rate, chunk):
5354
return mock_audio_stream
5455

5556

56-
# grpc doesn't yet support python3 https://github.com/grpc/grpc/issues/282
57+
@flaky
5758
@pytest.mark.skipif(
58-
sys.version_info >= (3, 0), reason="can't get grpc lib to work in python3")
59+
sys.version_info >= (3, 0),
60+
reason=("grpc doesn't yet support python3 "
61+
'https://github.com/grpc/grpc/issues/282'))
5962
def test_main(resource, monkeypatch, capsys):
6063
monkeypatch.setattr(
6164
speech_streaming, 'record_audio',

0 commit comments

Comments
 (0)