Skip to content

Commit 2b61e53

Browse files
author
MomIsBestFriend
committed
Applied datapythonista suggestions
1 parent 63b39dd commit 2b61e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/validate_string_concatenation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,12 @@ def bare_pytest_raises(source_path: str) -> Generator[Tuple[str, int, str], None
197197
"""
198198
Test Case for bare pytest raises.
199199
200-
For example:
200+
For example, this is wrong:
201201
202202
>>> with pytest.raise(ValueError):
203203
... # Some code that raises ValueError
204204
205-
Instead of:
205+
And this is what we want instead:
206206
207207
>>> with pytest.raise(ValueError, match="foo"):
208208
... # Some code that raises ValueError

0 commit comments

Comments
 (0)