aboutsummaryrefslogtreecommitdiff
path: root/tests/models/legacy/test_user_question_answer_in.py
diff options
context:
space:
mode:
authorMax Nanis2026-08-24 16:04:11 -0700
committerMax Nanis2026-08-24 16:04:11 -0700
commit979efd01b0c61d493d1fef3dff9885f5d38a8975 (patch)
tree1f56c05b4736636f0f5f82678bc06994bd0a4403 /tests/models/legacy/test_user_question_answer_in.py
parente2c5de703be45746bacaea4136f24440ff5a291c (diff)
downloadgeneralresearch-979efd01b0c61d493d1fef3dff9885f5d38a8975.tar.gz
generalresearch-979efd01b0c61d493d1fef3dff9885f5d38a8975.zip
ruff + fix filepath_adapter
Diffstat (limited to 'tests/models/legacy/test_user_question_answer_in.py')
-rw-r--r--tests/models/legacy/test_user_question_answer_in.py2
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}
)