We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 790bbbf commit 8f50dd6Copy full SHA for 8f50dd6
tests/unit/config/utils.py
@@ -2,7 +2,6 @@
2
# Licensed under the MIT License
3
4
from dataclasses import asdict
5
-from typing import cast
6
7
from pydantic import BaseModel
8
@@ -100,7 +99,7 @@ def assert_language_model_configs(
100
99
for e, a in zip(actual.responses, expected.responses, strict=True):
101
assert isinstance(e, BaseModel)
102
assert isinstance(a, BaseModel)
103
- assert e.model_dump() == a.model_dump()
+ assert e.model_dump() == a.model_dump()
104
else:
105
assert expected.responses is None
106
0 commit comments