mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +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