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 0f7f982 commit b9fa714Copy full SHA for b9fa714
pandas/tests/io/json/test_pandas.py
@@ -2289,12 +2289,12 @@ def test_read_json_lines_rangeindex():
2289
2290
2291
def test_large_number():
2292
- assert (
2293
- read_json(
2294
- StringIO('["9999999999999999"]'),
2295
- orient="values",
2296
- typ="series",
2297
- convert_dates=False,
2298
- )[0]
2299
- == 9999999999999999
+ # GH#20608
+ result = read_json(
+ StringIO('["9999999999999999"]'),
+ orient="values",
+ typ="series",
+ convert_dates=False,
2300
)
+ expected = Series([9999999999999999])
+ tm.assert_series_equal(result, expected)
0 commit comments