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 36ab783 commit 770e52bCopy full SHA for 770e52b
tests/test_stubgen_error.py
@@ -15,7 +15,7 @@
15
)
16
def test_stubgen(tmp_path: Path, caplog: pytest.LogCaptureFixture) -> None:
17
"""Show stubgen/mypy errors for CapsuleType (not available in Python < 3.13)."""
18
- assert m.identity_capsule(None) is None
+ assert hasattr(m, "identity_capsule")
19
# Generate stub into temporary directory
20
pybind11_stubgen.main(
21
[
0 commit comments