()
| 194 | |
| 195 | |
| 196 | def test_read_json_error(): |
| 197 | with tmpfile("json") as f: |
| 198 | with pytest.raises(ValueError): |
| 199 | df.to_json(f, orient="split", lines=True) |
| 200 | df.to_json(f, orient="split", lines=False) |
| 201 | with pytest.raises(ValueError): |
| 202 | dd.read_json(f, orient="split", blocksize=1) |
| 203 | |
| 204 | |
| 205 | @pytest.mark.parametrize("block", [5, 15, 33, 200, 90000]) |