Skip to content

Commit 98333da

Browse files
author
Albert Villanova del Moral
committed
Fix test
1 parent f536046 commit 98333da

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

pandas/tests/io/json/test_json_table_schema.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -564,17 +564,11 @@ def test_multiindex(self, index_names):
564564
result = pd.read_json(out, orient="table")
565565
tm.assert_frame_equal(df, result)
566566

567-
@pytest.mark.parametrize("strict_check", [
568-
pytest.param(True, marks=pytest.mark.xfail),
569-
False
570-
])
571-
def test_empty_frame_roundtrip(self, strict_check):
567+
def test_empty_frame_roundtrip(self):
572568
# GH 21287
573569
df = pd.DataFrame([], columns=['a', 'b', 'c'])
574570
expected = df.copy()
575571
out = df.to_json(orient='table')
576572
result = pd.read_json(out, orient='table')
577573
# TODO: When DF coercion issue (#21345) is resolved tighten type checks
578-
tm.assert_frame_equal(expected, result,
579-
check_dtype=strict_check,
580-
check_index_type=strict_check)
574+
tm.assert_frame_equal(expected, result)

0 commit comments

Comments
 (0)