Skip to content

Commit 591bf40

Browse files
authored
test: Rename test to more specific chart_error_example__four_errors_hide_fourth (#3546)
Working on a different branch I had to track down the comment explaining that this should display only 3 errors. The original name lead me to expect 4 errors
1 parent c7e1e83 commit 591bf40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/utils/test_schemapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def chart_error_example__two_errors_with_one_in_nested_layered_chart():
620620
return chart
621621

622622

623-
def chart_error_example__four_errors():
623+
def chart_error_example__four_errors_hide_fourth():
624624
# Error 1: unknown is not a valid encoding channel option
625625
# Error 2: Invalid Y option value "asdf".
626626
# Error 3: another_unknown is not a valid encoding channel option
@@ -821,7 +821,7 @@ def id_func(val) -> str:
821821
r"""'1' is an invalid value for `value`. Valid values are of type 'object', 'string', or 'null'.$""",
822822
),
823823
(
824-
chart_error_example__four_errors,
824+
chart_error_example__four_errors_hide_fourth,
825825
r"""Multiple errors were found.
826826
827827
Error 1: `Color` has no parameter named 'another_unknown'

0 commit comments

Comments
 (0)