Skip to main content

Module testing

Module testing 

Source
Expand description

Testing assertions matching pandas.testing (assert_frame_equal, assert_series_equal, assert_index_equal).

Structs§

AssertEqualOptions
Configuration options for testing assertions matching pandas pandas.testing kwargs.
AssertionError
Error raised when a testing assertion fails, matching pandas AssertionError.

Functions§

assert_extension_array_equal
Check that two extension arrays or scalar slices are equal, matching pandas.testing.assert_extension_array_equal.
assert_frame_equal
Check that two DataFrames are equal, matching pandas.testing.assert_frame_equal.
assert_frame_equal_default
Check DataFrame equality with default options.
assert_index_equal
Check that two Indexes are equal, matching pandas.testing.assert_index_equal.
assert_index_equal_default
Check Index equality with default options.
assert_series_equal
Check that two Series are equal, matching pandas.testing.assert_series_equal.
assert_series_equal_default
Check Series equality with default options.
compare_scalars
Compare two scalars according to the specified options.