Skip to content

Commit

Permalink
Adjust test expectation to latest PyO3 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Sep 8, 2023
1 parent 3a18675 commit 652619d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn exclusive_borrow_requires_writeable() {
}

#[test]
#[should_panic(expected = "Unwrapped panic from Python code")]
#[should_panic(expected = "AlreadyBorrowed")]
fn borrows_span_frames() {
#[pyclass]
struct Borrower;
Expand Down

0 comments on commit 652619d

Please sign in to comment.