Skip to content

Commit 6906eb1

Browse files
authored
Remove non-string meta tests from json_normalize
Removed tests for non-string meta in json_normalize.
1 parent c3c173a commit 6906eb1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/tests/io/json/test_normalize.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -938,10 +938,3 @@ def test_json_normalize_meta_string_validation(self):
938938

939939
with pytest.raises(TypeError, match="must be strings"):
940940
json_normalize(data, record_path=["nested"], meta=[12])
941-
942-
# Test string meta works correctly
943-
result1 = json_normalize(data, meta=["a"])
944-
assert "a" in result1.columns
945-
946-
result2 = json_normalize(data, record_path=["nested"], meta=["a"])
947-
assert "a" in result2.columns

0 commit comments

Comments
 (0)