Skip to content

Commit e75c06c

Browse files
Jon Wayne Parrottbusunkim96
authored andcommitted
Relax regex in ocr_nl sample test [(#1250)](GoogleCloudPlatform/python-docs-samples#1250)
1 parent b17678c commit e75c06c

File tree

1 file changed

+1
-1
lines changed
  • packages/google-cloud-language/samples/snippets/ocr_nl

1 file changed

+1
-1
lines changed

packages/google-cloud-language/samples/snippets/ocr_nl/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ def test_main(tmpdir, capsys):
9797

9898
stdout, _ = capsys.readouterr()
9999

100-
assert re.search(r'google was found with count', stdout)
100+
assert re.search(r'.* found with count', stdout)

0 commit comments

Comments
 (0)