Skip to content

Commit

Permalink
Merge pull request #1726 from alex/patch-1
Browse files Browse the repository at this point in the history
workaround an issue that causes function arguments to show up as if they are uncovered
  • Loading branch information
davidhewitt authored Jul 15, 2021
2 parents 8107c86 + a941b2c commit 15a193d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed

- Fix regression in 0.14.0 rejecting usage of `#[doc(hidden)]` on structs and functions annotated with PyO3 macros. [#1722](https://github.com/PyO3/pyo3/pull/1722)
- Fix regression in 0.14.0 leading to incorrect code coverage being computed for `#[pyfunction]`s. [#1726](https://github.com/PyO3/pyo3/pull/1726)

## [0.14.1] - 2021-07-04

Expand Down
2 changes: 1 addition & 1 deletion pyo3-macros-backend/src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ fn impl_arg_param(

let ty = arg.ty;
let name = arg.name;
let transform_error = quote_arg_span! {
let transform_error = quote! {
|e| pyo3::derive_utils::argument_extraction_error(#py, stringify!(#name), e)
};

Expand Down

0 comments on commit 15a193d

Please sign in to comment.