Skip to content

Commit a1eed34

Browse files
committed
Fix typo, should be 'AssertionError' and not 'AttributeError'
1 parent 97a09c9 commit a1eed34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
assert BaseModel is not BaseModelV1
1616
_PYDANTIC_VERSIONS = ("v1", "v2")
17-
except (ImportError, AttributeError):
17+
except (ImportError, AssertionError):
1818
_PYDANTIC_VERSIONS = ("v1",)
1919

2020
_RESULTS_DIRECTORY = Path(

0 commit comments

Comments
 (0)