Skip to content

Commit dcd2ec5

Browse files
thodson-usgsclaude
andcommitted
Avoid hyphenating "pagination-failure" across a line break
Copilot PR #273 review: the docstring of `_error_log_messages` wrapped mid-compound-word as `pagination-\n failure`, which renders as "pagination- failure" in help output. Rephrased so the term stays on one line. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e4e4281 commit dcd2ec5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/waterdata_utils_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def _resp_ok(features):
107107

108108

109109
def _error_log_messages(caplog):
110-
"""Pull ERROR-and-above message strings out of caplog. The pagination-
111-
failure tests below all assert against the same shape."""
110+
"""Pull ERROR-and-above message strings out of caplog. Shared by the
111+
pagination-failure tests below."""
112112
return [r.getMessage() for r in caplog.records if r.levelno >= logging.ERROR]
113113

114114

0 commit comments

Comments
 (0)