File tree Expand file tree Collapse file tree 1 file changed +20
-18
lines changed
Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -47,28 +47,30 @@ def test_entities_file(cloud_config, capsys):
4747def test_syntax_text (cloud_config , capsys ):
4848 snippets .syntax_text ('President Obama is speaking at the White House.' )
4949 out , _ = capsys .readouterr ()
50- assert 'NOUN : President
51- 'NOUN: Obama'
52- 'VERB: is'
53- 'VERB: speaking'
54- 'ADP: at'
55- 'DET: the'
56- 'NOUN: White'
57- 'NOUN: House'
58- 'PUNCT: .' in out
50+ assert (
51+ 'NOUN: President'
52+ 'NOUN: Obama'
53+ 'VERB: is'
54+ 'VERB: speaking'
55+ 'ADP: at'
56+ 'DET: the'
57+ 'NOUN: White'
58+ 'NOUN: House'
59+ 'PUNCT: .' ) in out
5960
6061
6162def test_syntax_file (cloud_config , capsys ):
6263 cloud_storage_input_uri = 'gs://{}/text.txt' .format (
6364 cloud_config .storage_bucket )
6465 snippets .syntax_file (cloud_storage_input_uri )
6566 out , _ = capsys .readouterr ()
66- assert 'NOUN : President
67- 'NOUN: Obama'
68- 'VERB: is'
69- 'VERB: speaking'
70- 'ADP: at'
71- 'DET: the'
72- 'NOUN: White'
73- 'NOUN: House'
74- 'PUNCT: .' in out
67+ assert (
68+ 'NOUN: President'
69+ 'NOUN: Obama'
70+ 'VERB: is'
71+ 'VERB: speaking'
72+ 'ADP: at'
73+ 'DET: the'
74+ 'NOUN: White'
75+ 'NOUN: House'
76+ 'PUNCT: .' ) in out
You can’t perform that action at this time.
0 commit comments