Repository navigation
Commit b41c5fc
Test _shape=arrays and _shape=arrayfirst for rows containing infinity (#3073)
remove_infinites() returns a plain list for a sqlite3.Row that contains
infinity. json_renderer() used to assert that every row was a
sqlite3.Row or a dict, so those two shapes returned a 500 for such rows.
030d482 (#3005) changed those branches to treat anything that is not a
dict as a sequence, which fixed this as a side effect but added no test
for it. These tests cover query, table and row pages.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>1 parent fc67ea9 commit b41c5fc
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1294 | 1327 | | |
1295 | 1328 | | |
1296 | 1329 | | |
| |||
0 commit comments