Commit 733ac96
committed
gh-154945: add regression test for NormalDist.quantiles(0)
Adds test_quantiles_invalid_n to verify that NormalDist.quantiles(n)
raises StatisticsError when n < 1, mirroring the module-level quantiles()
validation. Currently fails (test is red) — quantiles(0) silently returns []
instead of raising.1 parent ac8ba0c commit 733ac96
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3105 | 3105 | | |
3106 | 3106 | | |
3107 | 3107 | | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
3108 | 3115 | | |
3109 | 3116 | | |
3110 | 3117 | | |
| |||
0 commit comments