You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-pyo3_0.19/SOURCES/0002-Skip-a-doctest-that-do...

26 lines
665 B

From f5d0e9c16900ee863b0b6528b8df40dc7113b1c9 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Tue, 23 Jan 2024 14:05:22 +0100
Subject: [PATCH 2/3] Skip a doctest that does not compile with Rust 1.74+
---
src/exceptions.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exceptions.rs b/src/exceptions.rs
index 48a0986..48ad973 100644
--- a/src/exceptions.rs
+++ b/src/exceptions.rs
@@ -637,7 +637,7 @@ impl PyUnicodeDecodeError {
///
/// # Examples
///
- /// ```
+ /// ```rust, ignore
/// use pyo3::prelude::*;
/// use pyo3::exceptions::PyUnicodeDecodeError;
///
--
2.44.0