Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit b465ce5

Browse files
nnegreybusunkim96
authored andcommitted
automl: fix batch test due to error message change [(#3057)](GoogleCloudPlatform/python-docs-samples#3057)
fix: GoogleCloudPlatform/python-docs-samples#3052
1 parent f0af80a commit b465ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/snippets/batch_predict_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def test_batch_predict(capsys):
3737
)
3838
out, _ = capsys.readouterr()
3939
assert (
40-
"The model is either not found or not supported for prediction yet"
40+
"does not exist"
4141
in out
4242
)
4343
except Exception as e:
4444
assert (
45-
"The model is either not found or not supported for prediction yet"
45+
"does not exist"
4646
in e.message
4747
)

0 commit comments

Comments
 (0)