GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: fix predict sample tests for proto-plus==1.14.2 (#250) · aditdn/python-aiplatform@b1c9d88

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • samples/snippets
    • predict_custom_trained_model_sample_test.py
    • predict_image_object_detection_sample_test.py
    • predict_tabular_classification_sample_test.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎samples/snippets/predict_custom_trained_model_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/snippets/predict_custom_trained_model_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ def test_ucaip_generated_predict_custom_trained_model_sample(capsys):
3737
)
3838

3939
out, _ = capsys.readouterr()
40-
assert "number_value: 1.0" in out
40+
assert "1.0" in out
Collapse file

‎samples/snippets/predict_image_object_detection_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/snippets/predict_image_object_detection_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def test_ucaip_generated_predict_image_object_detection_sample(capsys):
3131
)
3232

3333
out, _ = capsys.readouterr()
34-
assert 'string_value: "Salad"' in out
34+
assert 'Salad' in out
Collapse file

‎samples/snippets/predict_tabular_classification_sample_test.py‎

Copy file name to clipboardExpand all lines: samples/snippets/predict_tabular_classification_sample_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def test_ucaip_generated_predict_tabular_classification_sample(capsys):
3535
)
3636

3737
out, _ = capsys.readouterr()
38-
assert 'string_value: "setosa"' in out
38+
assert 'setosa' in out

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.