mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-13 16:36:06 +00:00
Fix pytest collection warning (#3651)
Fixes a pytest collection warning because the test class starts with the prefix "Test"
This commit is contained in:
parent
0cf890eed4
commit
055f58960a
@ -23,6 +23,10 @@ class TestModel(BaseModel):
|
||||
)
|
||||
|
||||
|
||||
# Prevent pytest from trying to run tests on TestModel
|
||||
TestModel.__test__ = False # type: ignore[attr-defined]
|
||||
|
||||
|
||||
DEF_RESULT = """{
|
||||
"action": "Update",
|
||||
"action_input": "The PydanticOutputParser class is powerful",
|
||||
|
Loading…
Reference in New Issue
Block a user