diff options
author | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-08-10 04:23:30 (GMT) |
---|---|---|
committer | Peter Schneider-Kamp <nowonder@nowonder.de> | 2000-08-10 04:23:30 (GMT) |
commit | 10e1bf2f64b77f3a71157c72de19265870cdeb5f (patch) | |
tree | 4230ef139d940ff0fa2f56afdb5d1d6ec84e6bab /Lib/test/test_math.py | |
parent | 0707fea5ee112da270a86b5a147f260d6c0e35ef (diff) | |
download | cpython-10e1bf2f64b77f3a71157c72de19265870cdeb5f.zip cpython-10e1bf2f64b77f3a71157c72de19265870cdeb5f.tar.gz cpython-10e1bf2f64b77f3a71157c72de19265870cdeb5f.tar.bz2 |
remove all occurence of math.rint() from the sources
(and yes, "Currintly" also counts <0.5 wink>)
Diffstat (limited to 'Lib/test/test_math.py')
-rw-r--r-- | Lib/test/test_math.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 5c8efc6..6d6bc44 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -129,18 +129,6 @@ testit('pow(1,0)', math.pow(1,0), 1) testit('pow(2,1)', math.pow(2,1), 2) testit('pow(2,-1)', math.pow(2,-1), 0.5) -print 'rint' -try: - math.rint -except AttributeError: - # this platform does not have rint, that is fine, skip the test - pass -else: - testit('rint(0.7)', math.rint(0.7), 1) - testit('rint(-0.3)', math.rint(-0.3), 0) - testit('rint(2.5)', math.rint(2.5), 2) - testit('rint(3.5)', math.rint(3.5), 4) - print 'sin' testit('sin(0)', math.sin(0), 0) testit('sin(pi/2)', math.sin(math.pi/2), 1) |