From 80a7be828fcd4be86d7e0ead2cbaa2ebb146833d Mon Sep 17 00:00:00 2001 From: Xinjie Zheng Date: Wed, 6 Jul 2016 15:57:49 -0700 Subject: [PATCH] Fixing v1beta1 tests --- speech/api/speech_async_grpc_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/speech/api/speech_async_grpc_test.py b/speech/api/speech_async_grpc_test.py index 481a2610f8e4..61070326bfac 100644 --- a/speech/api/speech_async_grpc_test.py +++ b/speech/api/speech_async_grpc_test.py @@ -11,6 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import argparse import re import sys @@ -34,5 +35,5 @@ def test_main(cloud_config, capsys): def test_gcs_uri(): _gcs_uri('gs://bucket/path') - with pytest.raises(ValueError): + with pytest.raises(argparse.ArgumentTypeError): _gcs_uri('/local/path')