We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bea5051 commit e7b453bCopy full SHA for e7b453b
pandas/util/testing.py
@@ -167,7 +167,7 @@ def assert_isinstance(obj, class_type_or_tuple):
167
"""asserts that obj is an instance of class_type_or_tuple"""
168
assert isinstance(obj, class_type_or_tuple), (
169
"Expected object to be of type %r, found %r instead" % (
170
- type(obj), class_type_or_tuple))
+ class_type_or_tuple, type(obj)))
171
172
def assert_equal(a, b, msg=""):
173
"""asserts that a equals b, like nose's assert_equal, but allows custom message to start.
0 commit comments