Skip to content

Commit

Permalink
use published pyo3-testing crate (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicalNinjaDad authored May 23, 2024
1 parent 08be4ba commit c660c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/fizzbuzzo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ path = "src/lib.rs"
crate-type = ["cdylib"] # cdylib required for python import, rlib required for rust tests.

[dependencies]
pyo3 = { git = "https://github.com/MusicalNinjaDad/pyo3.git", branch = "pyo3-testing" }
pyo3 = "0.21.2"
pyo3-testing = "0.1.0"
fizzbuzz = { path = "../fizzbuzz" }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1 change: 1 addition & 0 deletions rust/fizzbuzzo3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ fn py_fizzbuzzo3(module: &Bound<'_, PyModule>) -> PyResult<()> {
mod tests {
use pyo3::exceptions::PyTypeError;
use pyo3::types::PyDict;
use pyo3_testing::pyo3test;

use super::*;

Expand Down

0 comments on commit c660c23

Please sign in to comment.