Skip to content

Commit

Permalink
fix ui tests (#4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
Icxolu authored and davidhewitt committed Sep 15, 2024
1 parent b77cb3c commit 66ac6c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_compile_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ fn test_compile_errors() {
#[cfg(not(feature = "gil-refs"))]
t.compile_fail("tests/ui/wrong_aspyref_lifetimes.rs");
t.compile_fail("tests/ui/invalid_pyfunctions.rs");
#[cfg(not(any(feature = "hashbrown", feature = "indexmap")))]
t.compile_fail("tests/ui/invalid_pymethods.rs");
// output changes with async feature
#[cfg(all(Py_LIMITED_API, feature = "experimental-async"))]
t.compile_fail("tests/ui/abi3_nativetype_inheritance.rs");
#[cfg(not(feature = "gil-refs"))]
t.compile_fail("tests/ui/invalid_intern_arg.rs");
t.compile_fail("tests/ui/invalid_frozen_pyclass_borrow.rs");
#[cfg(not(any(feature = "hashbrown", feature = "indexmap")))]
t.compile_fail("tests/ui/invalid_pymethod_receiver.rs");
t.compile_fail("tests/ui/missing_intopy.rs");
// adding extra error conversion impls changes the output
Expand Down

0 comments on commit 66ac6c7

Please sign in to comment.