Skip to content

Commit

Permalink
Update tests/unit/scripts/test_lint_checkers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ronnie Dutta <[email protected]>
  • Loading branch information
wxtim and MetRonnie committed Aug 22, 2024
1 parent 3a71a82 commit eaa7e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/scripts/test_lint_checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def test_custom_checker_doctests(check):
# Those checks that have custom checker functions
# and a short message with variables to insert:
[
(c[1].get('function'), c[1]) for c in ALL_CHECKS
if c[1].get('function') in CHECKERS
and VARS.findall(c[1]['short'])
(c.get('function'), c) for c in ALL_CHECKS
if c.get('function') in CHECKERS
and VARS.findall(c['short'])
]
)
def test_custom_checkers_short_formatters(ref, check):
Expand Down

0 comments on commit eaa7e00

Please sign in to comment.