From 1af377998fa7901a55da6df8d8b7456205c2dede Mon Sep 17 00:00:00 2001 From: Douglas McNeil Date: Wed, 22 Jan 2014 17:15:45 -0500 Subject: [PATCH] TST: fix test that repr returns str --- pandas/tests/test_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py index d0c783725f8bb..86627271c8e6a 100644 --- a/pandas/tests/test_format.py +++ b/pandas/tests/test_format.py @@ -181,7 +181,7 @@ def test_repr_should_return_str(self): u("\u03c6")] cols = [u("\u03c8")] df = DataFrame(data, columns=cols, index=index1) - self.assertTrue(type(df.__repr__() == str)) # both py2 / 3 + self.assertTrue(type(df.__repr__()) == str) # both py2 / 3 def test_repr_no_backslash(self): with option_context('mode.sim_interactive', True):