diff options
Diffstat (limited to 'tests/models/legacy/test_user_question_answer_in.py')
| -rw-r--r-- | tests/models/legacy/test_user_question_answer_in.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/models/legacy/test_user_question_answer_in.py b/tests/models/legacy/test_user_question_answer_in.py index 1904798..ee70d81 100644 --- a/tests/models/legacy/test_user_question_answer_in.py +++ b/tests/models/legacy/test_user_question_answer_in.py @@ -295,7 +295,7 @@ class TestUserQuestionAnswerIn: ) answer = ["aaa" for i in range(5)] - with pytest.raises(ValueError) as cm: + with pytest.raises(ValueError): UserQuestionAnswerIn.model_validate( {"question_id": uuid4().hex, "answer": answer} ) |
