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.
test_docs.py
1 parent 6666524 commit e0fa359Copy full SHA for e0fa359
tests/test_docs.py
@@ -5,7 +5,9 @@
5
import sys
6
from pathlib import Path
7
8
+import pydantic
9
import pytest
10
+from packaging import version
11
from pytest_examples import CodeExample, EvalExample, find_examples
12
from pytest_examples.config import ExamplesConfig
13
from pytest_examples.lint import black_format
@@ -20,6 +22,9 @@ def skip_docs_tests():
20
22
if platform.python_implementation() != 'CPython':
21
23
return 'not cpython'
24
25
+ if version.parse(pydantic.__version__) < version.parse('2.10'):
26
+ return 'old version of pydantic'
27
+
28
29
class GroupModuleGlobals:
30
def __init__(self) -> None:
0 commit comments