We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c7e7f commit b0315f3Copy full SHA for b0315f3
pandas/tests/io/json/test_pandas.py
@@ -2192,3 +2192,9 @@ def test_read_json_lines_rangeindex():
2192
result = read_json(StringIO(data), lines=True).index
2193
expected = RangeIndex(2)
2194
tm.assert_index_equal(result, expected, exact=True)
2195
+
2196
2197
+def test_read_json_to_datetime_futurewarning_supress():
2198
+ data = '{"A":{"0":"X","Y":"Y"}}'
2199
+ with tm.assert_produces_warning(None):
2200
+ read_json(StringIO(data))
0 commit comments