Skip to content

Commit 8e71a2e

Browse files
committed
Update docstring
1 parent ca6185f commit 8e71a2e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎conformance/src/main.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ def get_expected_errors(test_case: Path) -> tuple[
7171
7272
The return value is a tuple of two dictionaries:
7373
- The format of the first is {line number: (number of required errors, number of optional errors)}.
74-
- The format of the second is {error tag: ([lines where the error may appear], allow multiple}.
75-
If allow multiple is True, the error may appear on multiple lines; otherwise, it must
76-
appear exactly once.
74+
- The format of the second is {error tag: ([lines where the error may appear], allow multiple, require success)}.
75+
If require success is True, at least one line can't raise an error; otherwise, if allow multiple is True, the
76+
error may appear on multiple lines; otherwise, it must appear exactly once.
7777
7878
For example, the following test case:
7979

0 commit comments

Comments
 (0)