Skip to content

TST: use 2-form asserts in pandas.utils.testing #4397

@jreback

Description

@jreback

e.g.

assert (left.dtype == right.dtype), "Left Dtype: {0}, Right Dtype: {1}".format(left.dtype,right.dtype)

in assert_*_equal

will be useful in seeing what is actually failing as the 2nd parameter
gets raised in the AssertionError(2nd parm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Error ReportingIncorrect or improved errors from pandasTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions