Skip to content

Commit 730d6d8

Browse files
committed
Add related issue number and comments for tests
1 parent 00a474d commit 730d6d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/io/json/test_readlines.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def test_readjson_unicode(monkeypatch):
184184

185185
@pytest.mark.parametrize("nrows", [1, 2])
186186
def test_readjson_nrows(nrows):
187+
# GH 33916
187188
# Test reading line-format JSON to Series with nrows param
188189
jsonl = """{"a": 1, "b": 2}
189190
{"a": 3, "b": 4}
@@ -196,6 +197,7 @@ def test_readjson_nrows(nrows):
196197

197198
@pytest.mark.parametrize("nrows,chunksize", [(2, 2), (4, 2)])
198199
def test_readjson_nrows_chunks(nrows, chunksize):
200+
# GH 33916
199201
# Test reading line-format JSON to Series with nrows and chunksize param
200202
jsonl = """{"a": 1, "b": 2}
201203
{"a": 3, "b": 4}
@@ -208,6 +210,8 @@ def test_readjson_nrows_chunks(nrows, chunksize):
208210

209211

210212
def test_readjson_nrows_requires_lines():
213+
# GH 33916
214+
# Test ValuError raised if nrows is set without setting lines in read_json
211215
jsonl = """{"a": 1, "b": 2}
212216
{"a": 3, "b": 4}
213217
{"a": 5, "b": 6}

0 commit comments

Comments
 (0)