Skip to content

Commit a4a7225

Browse files
committed
Run tests with macros and without experimental inspect
We are currently not testing pyo3 with the `macros` feature enabled but without `full` enabled
1 parent 603a69a commit a4a7225

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ def _get_feature_sets() -> Tuple[Optional[str], ...]:
14941494
if is_rust_nightly():
14951495
features += ",nightly"
14961496

1497-
return (None, "abi3", features, f"abi3,{features}")
1497+
return (None, "abi3", "macros", "abi3,macros", features, f"abi3,{features}")
14981498

14991499

15001500
_RELEASE_LINE_START = "release: "

tests/test_compile_error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ fn test_compile_errors() {
99
#[cfg(not(feature = "experimental-inspect"))]
1010
t.compile_fail("tests/ui/invalid_property_args.rs");
1111
t.compile_fail("tests/ui/invalid_proto_pymethods.rs");
12+
#[cfg(not(feature = "experimental-inspect"))]
1213
#[cfg(not(all(Py_LIMITED_API, not(Py_3_10))))] // to avoid PyFunctionArgument for &str
1314
t.compile_fail("tests/ui/invalid_pyclass_args.rs");
1415
t.compile_fail("tests/ui/invalid_pyclass_doc.rs");

0 commit comments

Comments
 (0)