ci: no coverage necessary for hygiene tests

This commit is contained in:
David Hewitt 2021-12-18 08:56:22 +00:00
parent 777a607b47
commit 4cec3a2ecf
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
// The modules in this test are used to check PyO3 macro expansion is hygienic. By locating the test
// inside the crate the global `::pyo3` namespace is not available, so in combination with
// #[pyo3(crate = "crate")] this validates that all macro expansion respects the setting.
//
// The generated code is never executed (these tests are checking compile time correctness.)
#![cfg_attr(coverage, feature(no_coverage))]
mod misc;
mod pyclass;
mod pyfunction;