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 770e52b commit 901cb02Copy full SHA for 901cb02
tests/test_stubgen.py
@@ -1,13 +1,18 @@
1
from __future__ import annotations
2
3
+import sys
4
from pathlib import Path
5
6
import pybind11_stubgen
7
+import pytest
8
from mypy import api
9
10
from pybind11_tests import stubgen as m
11
12
13
+@pytest.mark.xfail(
14
+ sys.version_info >= (3, 14), reason="mypy does not support Python 3.14+ yet"
15
+)
16
def test_stubgen(tmp_path: Path) -> None:
17
assert m.add_int(1, 2) == 3
18
# Generate stub into temporary directory
0 commit comments