The testing module

pyam.testing.assert_iamframe_equal(left, right, **kwargs)[source]

Check that left and right IamDataFrame instances are equal.

Parameters
left, rightIamDataFrame

Two IamDataFrame instances to be compared.

kwargs

Passed to IamDataFrame.compare(), comparing the data objects.

Raises
AssertionError if left and right are different.

Notes

Columns of the meta attribute where all values are nan are ignored.