diff options
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/profile.py | 2 | ||||
-rw-r--r-- | Lib/test/output/test_math | 1 | ||||
-rw-r--r-- | Lib/test/test_math.py | 12 |
3 files changed, 1 insertions, 14 deletions
diff --git a/Lib/profile.py b/Lib/profile.py index e31363a..feaf287 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -390,7 +390,7 @@ class Profile: # more carefully the number of events (and cumulatively, the number # of events during sub functions) that are seen. If this were # done, then the arithmetic could be done after the fact (i.e., at - # display time). Currintly, we track only call/return events. + # display time). Currently, we track only call/return events. # These values can be deduced by examining the callees and callers # vectors for each functions. Hence we *can* almost correct the # internal time figure at print time (note that we currently don't diff --git a/Lib/test/output/test_math b/Lib/test/output/test_math index b0c48de..2a98000 100644 --- a/Lib/test/output/test_math +++ b/Lib/test/output/test_math @@ -19,7 +19,6 @@ log log10 modf pow -rint sin sinh sqrt 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) |