pymc-labs / CausalPy

A Python package for causal inference in quasi-experimental settings
https://causalpy.readthedocs.io
Apache License 2.0
881 stars 63 forks source link

Fix #288: remove deprecated 'model' property in tests. #291

Closed anevolbap closed 7 months ago

anevolbap commented 7 months ago

Closes issue #288.

Removes the FutureWarning in tests caused by a deprecated property:

FutureWarning: Model.model property is deprecated. Just use Model.
    warnings.warn("Model.model property is deprecated. Just use Model.", FutureWarning)
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.50%. Comparing base (67d9e0e) to head (60e537c). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #291 +/- ## ======================================= Coverage 76.50% 76.50% ======================================= Files 20 20 Lines 1345 1345 ======================================= Hits 1029 1029 Misses 316 316 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

drbenvincent commented 7 months ago

Thanks!