Skip to content

Commit 66ac6c7

Browse files
Icxoludavidhewitt
authored andcommitted
fix ui tests (#4397)
1 parent b77cb3c commit 66ac6c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_compile_error.rs

+2
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ fn test_compile_errors() {
3131
#[cfg(not(feature = "gil-refs"))]
3232
t.compile_fail("tests/ui/wrong_aspyref_lifetimes.rs");
3333
t.compile_fail("tests/ui/invalid_pyfunctions.rs");
34+
#[cfg(not(any(feature = "hashbrown", feature = "indexmap")))]
3435
t.compile_fail("tests/ui/invalid_pymethods.rs");
3536
// output changes with async feature
3637
#[cfg(all(Py_LIMITED_API, feature = "experimental-async"))]
3738
t.compile_fail("tests/ui/abi3_nativetype_inheritance.rs");
3839
#[cfg(not(feature = "gil-refs"))]
3940
t.compile_fail("tests/ui/invalid_intern_arg.rs");
4041
t.compile_fail("tests/ui/invalid_frozen_pyclass_borrow.rs");
42+
#[cfg(not(any(feature = "hashbrown", feature = "indexmap")))]
4143
t.compile_fail("tests/ui/invalid_pymethod_receiver.rs");
4244
t.compile_fail("tests/ui/missing_intopy.rs");
4345
// adding extra error conversion impls changes the output

0 commit comments

Comments
 (0)