Skip to content

Commit 8c4e28f

Browse files
author
rivera-fernando
committed
TST
Added test for issue pandas-dev#32409, json containing dicts containing the key last_status_change_at
1 parent afe7f1d commit 8c4e28f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pandas/tests/io/json/test_pandas.py

+9
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,15 @@ def test_series_with_dtype(self):
704704
expected = Series([4] * 3)
705705
tm.assert_series_equal(result, expected)
706706

707+
def test_unhashable_dict(self):
708+
df = pd.DataFrame(
709+
[
710+
{"last_status_change_at": {"a": "1"}},
711+
{"last_status_change_at": {"a": "2"}},
712+
]
713+
)
714+
df.describe()
715+
707716
@pytest.mark.parametrize(
708717
"dtype,expected",
709718
[

0 commit comments

Comments
 (0)