Skip to content

Commit d696a12

Browse files
committed
fix tests
1 parent 101b4d2 commit d696a12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/io/json/test_pandas.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def test_roundtrip_simple(self, orient, convert_axes, numpy, dtype):
168168

169169
expected = self.frame.copy()
170170

171-
if not numpy and (orient == "index" or (PY35 and orient == "columns")):
171+
if not numpy and (PY35 and (orient == "index" or orient == "columns")):
172172
# TODO: debug why sort is required
173173
expected = expected.sort_index()
174174

@@ -188,7 +188,7 @@ def test_roundtrip_intframe(self, orient, convert_axes, numpy, dtype):
188188
data, orient=orient, convert_axes=convert_axes, numpy=numpy, dtype=dtype
189189
)
190190
expected = self.intframe.copy()
191-
if not numpy and (orient == "index" or (PY35 and orient == "columns")):
191+
if not numpy and (PY35 and (orient == "index" or orient == "columns")):
192192
expected = expected.sort_index()
193193

194194
if orient == "records" or orient == "values":
@@ -228,7 +228,7 @@ def test_roundtrip_str_axes(self, orient, convert_axes, numpy, dtype):
228228
)
229229

230230
expected = df.copy()
231-
if not numpy and (orient == "index" or (PY35 and orient == "columns")):
231+
if not numpy and (PY35 and (orient == "index" or orient == "columns")):
232232
expected = expected.sort_index()
233233

234234
if not dtype:

0 commit comments

Comments
 (0)