Commit 24d3196
committed
Don't generate NaNs.
JSON doesn't actually allow these (despite the json module in Python happily
serializing / parsing 'nan'), and they make assertEqual fail since they're not
equal to anything, including themselves.1 parent 9758934 commit 24d3196
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| |||
0 commit comments