Skip to content

Commit 7c64b72

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent ed6efe0 commit 7c64b72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_math_quiz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_all_options_unique(self):
156156
def test_options_are_numeric_for_numeric_answer(self):
157157
options = generate_options(25)
158158
for opt in options:
159-
assert isinstance(opt, int)
159+
assert isinstance(opt, (int, float))
160160

161161

162162
# ── get_grade tests ──────────────────────────────────────────────────

0 commit comments

Comments
 (0)