Skip to content

Commit 78bfade

Browse files
xinjiezJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Fixing v1beta1 tests (#406)
1 parent f264c70 commit 78bfade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

speech/api/speech_async_grpc_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313

14+
import argparse
1415
import re
1516
import sys
1617

@@ -34,5 +35,5 @@ def test_main(cloud_config, capsys):
3435

3536
def test_gcs_uri():
3637
_gcs_uri('gs://bucket/path')
37-
with pytest.raises(ValueError):
38+
with pytest.raises(argparse.ArgumentTypeError):
3839
_gcs_uri('/local/path')

0 commit comments

Comments
 (0)