mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
Whitespace normalization.
This commit is contained in:
parent
2344fae6d0
commit
0c9886d589
7 changed files with 488 additions and 488 deletions
|
@ -76,8 +76,8 @@ def verify(name, expected):
|
||||||
computed = eval(name)
|
computed = eval(name)
|
||||||
if abs(computed - expected) > 1e-7:
|
if abs(computed - expected) > 1e-7:
|
||||||
raise ValueError, \
|
raise ValueError, \
|
||||||
'computed value for %s deviates too much (computed %g, expected %g)' % \
|
'computed value for %s deviates too much (computed %g, expected %g)' % \
|
||||||
(name, computed, expected)
|
(name, computed, expected)
|
||||||
|
|
||||||
# -------------------- normal distribution --------------------
|
# -------------------- normal distribution --------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue