Skip to content

Commit

Permalink
tests: use full named vars to please linters
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Oct 9, 2024
1 parent 3e645a4 commit e8621d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/fields/test_selectmultiple.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ def test_defaults():
# Test for possible regression with null data
form.a.data = None
assert form.validate()
assert list(form.a.iter_choices()) == [(v, l, False, {}) for v, l in form.a.choices]
assert list(form.a.iter_choices()) == [
(value, label, False, {}) for value, label in form.a.choices
]


def test_with_data():
Expand Down

0 comments on commit e8621d7

Please sign in to comment.