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 97a09c9 commit a1eed34Copy full SHA for a1eed34
tests/test_script.py
@@ -14,7 +14,7 @@
14
15
assert BaseModel is not BaseModelV1
16
_PYDANTIC_VERSIONS = ("v1", "v2")
17
-except (ImportError, AttributeError):
+except (ImportError, AssertionError):
18
_PYDANTIC_VERSIONS = ("v1",)
19
20
_RESULTS_DIRECTORY = Path(
0 commit comments