Skip to content

Commit 652619d

Browse files
committed
Adjust test expectation to latest PyO3 release.
1 parent 3a18675 commit 652619d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/borrow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fn exclusive_borrow_requires_writeable() {
8181
}
8282

8383
#[test]
84-
#[should_panic(expected = "Unwrapped panic from Python code")]
84+
#[should_panic(expected = "AlreadyBorrowed")]
8585
fn borrows_span_frames() {
8686
#[pyclass]
8787
struct Borrower;

0 commit comments

Comments
 (0)