pyo3/pytests
mejrs 9e29c1058c Gut specialization and implement auto trait
Implement auto trait

Implement auto trait

Undo oopsie

Fix versions

Fix CI errors

Fix CI

Remove more specialization remnants
2022-02-22 22:43:23 +01:00
..
pyo3_pytests pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
src Gut specialization and implement auto trait 2022-02-22 22:43:23 +01:00
tests pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
Cargo.toml pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
MANIFEST.in pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
README.md pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
build.rs pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
noxfile.py pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
pyproject.toml pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
requirements-dev.txt pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00

README.md

pyo3-pytests

An extension module built using PyO3, used to test and benchmark PyO3 from Python.

Testing

This package is intended to be built using maturin. Once built, you can run the tests using pytest:

pip install maturin
maturin develop
pytest

Alternatively, install nox and run the tests inside an isolated environment:

nox

Running benchmarks

You can install the module in your Python environment and then run the benchmarks with pytest:

pip install .
pytest --benchmark-enable

Or with nox:

nox -s bench