pydata / patsy

Describing statistical models in Python using symbolic formulas
Other
947 stars 103 forks source link

Migrate to pytest #178

Closed matthewwardrop closed 3 years ago

matthewwardrop commented 3 years ago

Many thanks to @pgajdos and @bashtage for your respective PRs (#163 and #164). They provided an excellent reference to make sure I hadn't missed anything. This PR is an amalgamation of your efforts (or will be once it is complete).

codecov-commenter commented 3 years ago

Codecov Report

Merging #178 (80fdd06) into master (3e4fa2a) will increase coverage by 0.70%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   97.25%   97.95%   +0.70%     
==========================================
  Files          30       30              
  Lines        3129     3130       +1     
  Branches      652      652              
==========================================
+ Hits         3043     3066      +23     
+ Misses         47       38       -9     
+ Partials       39       26      -13     
Flag Coverage Δ
unittests 97.57% <100.00%> (+0.32%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
patsy/build.py 99.68% <ø> (+0.31%) :arrow_up:
patsy/builtins.py 100.00% <ø> (ø)
patsy/categorical.py 99.13% <ø> (+0.86%) :arrow_up:
patsy/constraint.py 97.97% <ø> (ø)
patsy/contrasts.py 96.93% <ø> (ø)
patsy/eval.py 98.72% <ø> (ø)
patsy/infix_parser.py 98.57% <ø> (ø)
patsy/mgcv_cubic_splines.py 99.29% <ø> (+0.70%) :arrow_up:
patsy/missing.py 100.00% <ø> (ø)
patsy/splines.py 100.00% <ø> (+2.00%) :arrow_up:
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bd7bc9f...80fdd06. Read the comment docs.