diff --git a/pandas/io/tests/json/test_pandas.py b/pandas/io/tests/json/test_pandas.py index ba02e9186f1df..e6e6f33669e17 100644 --- a/pandas/io/tests/json/test_pandas.py +++ b/pandas/io/tests/json/test_pandas.py @@ -167,7 +167,7 @@ def _check_orient(df, orient, dtype=None, numpy=False, if raise_ok is not None: if isinstance(detail, raise_ok): return - raise + raise if sort is not None and sort in unser.columns: unser = unser.sort_values(sort)