The testing module¶
- pyam.testing.assert_iamframe_equal(left, right, **kwargs)[source]¶
Check that left and right IamDataFrame instances are equal.
- Parameters:
- left, right
IamDataFrame
Two IamDataFrame instances to be compared.
- **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.