IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
227 stars 118 forks source link

Refactor tests for region-aggregation with weights #787

Closed danielhuppmann closed 11 months ago

danielhuppmann commented 11 months ago

Description of PR

This PR implements the first half of #754: refactoring the tests for region-aggregation with weights and harmonizing some docstrings

codecov[bot] commented 11 months ago

Codecov Report

Merging #787 (b59930e) into main (46720cf) will decrease coverage by 0.1%. The diff coverage is 100.0%.

@@           Coverage Diff           @@
##            main    #787     +/-   ##
=======================================
- Coverage   94.7%   94.7%   -0.1%     
=======================================
  Files         62      62             
  Lines       5967    5965      -2     
=======================================
- Hits        5652    5650      -2     
  Misses       315     315             
Files Coverage Δ
pyam/aggregation.py 99.1% <100.0%> (ø)
pyam/core.py 94.7% <100.0%> (ø)
tests/test_feature_aggregate.py 98.8% <100.0%> (-0.1%) :arrow_down: