The testing module¶
- pyam.testing.assert_iamframe_equal(left: IamDataFrame, right: IamDataFrame, check_meta: bool = True, **kwargs) None[source]¶
Check that left and right IamDataFrame instances are equal.
- Parameters:
- left, right
IamDataFrame Two IamDataFrame instances to be compared.
- check_meta: bool
Whether to check that the meta indicators are identical.
- **kwargs
Passed to
IamDataFrame.compare(), comparing the data objects.
- left, right
- Raises:
- AssertionError if left and right are different.
Notes
Columns of the meta attribute where all values are nan are ignored.