Skip to content

Commit b4968c2

Browse files
committed
Merge pull request #6040 from dsm054/fix-test-that-repr-returns-str
TST: fix test that repr returns str
2 parents eacc354 + 1af3779 commit b4968c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_repr_should_return_str(self):
181181
u("\u03c6")]
182182
cols = [u("\u03c8")]
183183
df = DataFrame(data, columns=cols, index=index1)
184-
self.assertTrue(type(df.__repr__() == str)) # both py2 / 3
184+
self.assertTrue(type(df.__repr__()) == str) # both py2 / 3
185185

186186
def test_repr_no_backslash(self):
187187
with option_context('mode.sim_interactive', True):

0 commit comments

Comments
 (0)