Skip to content

Commit

Permalink
add print to failed assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Oct 8, 2024
1 parent 053a66b commit ed3bacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversions/chrono_tz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ mod tests {
fn test_into_pyobject() {
Python::with_gil(|py| {
let assert_eq = |l: Bound<'_, PyAny>, r: Bound<'_, PyAny>| {
assert!(l.eq(r).unwrap());
assert!(l.eq(&r).unwrap(), "{:?} != {:?}", l, r);
};

assert_eq(
Expand Down

0 comments on commit ed3bacb

Please sign in to comment.