Skip to content

Commit 1af3779

Browse files
committed
TST: fix test that repr returns str
1 parent eacc354 commit 1af3779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_format.py

Lines changed: 1 addition & 1 deletion
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)