Skip to content

Commit

Permalink
Skip running of doc tests because CI segfaults
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Orsula <[email protected]>
  • Loading branch information
AndrejOrsula committed Mar 5, 2024
1 parent d7aa7b6 commit 7d3c505
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pyo3_bindgen_engine/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use rustc_hash::FxHashSet as HashSet;
/// default configuration, all submodules, classes, functions, and parameters
/// will be recursively parsed and included in the generated bindings.
///
/// ```
/// ```no_run
/// # use pyo3_bindgen_engine::{Codegen, Config};
/// fn main() -> Result<(), Box<dyn std::error::Error>> {
/// Codegen::new(Config::default())?
Expand All @@ -31,7 +31,7 @@ use rustc_hash::FxHashSet as HashSet;
/// respective submodules, classes, functions, and parameters. No direct attributes
/// or submodules of the `html` top-level module will be included.
///
/// ```
/// ```no_run
/// # use pyo3_bindgen_engine::{Codegen, Config};
/// fn main() -> Result<(), Box<dyn std::error::Error>> {
/// Codegen::new(Config::default())?
Expand Down
6 changes: 3 additions & 3 deletions pyo3_bindgen_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ mod parser;
///
/// Here is a simple example of how to use the macro to generate bindings for the `sys` module.
///
/// ```
/// ```no_run
/// # use pyo3_bindgen_macros::import_python;
/// import_python!("sys");
/// pub use sys::*;
/// ```
///
/// For consistency, the top-level package is always included in the generated bindings.
///
/// ```
/// ```no_run
/// # use pyo3_bindgen_macros::import_python;
/// import_python!("html.parser");
/// pub use html::parser::*;
/// ```
///
/// Furthermore, the actual name of the package is always used regardless of how it is aliased.
///
/// ```
/// ```no_run
/// # use pyo3_bindgen_macros::import_python;
/// import_python!("os.path");
/// pub use posixpath::*;
Expand Down

0 comments on commit 7d3c505

Please sign in to comment.