summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-12-14 19:51:34 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-12-14 19:51:34 (GMT)
commit866964c3a3823c8d42c51a41c5c7264a569200b4 (patch)
tree0ad3fb175d1d8fadb3005ed94ff43a97e82caa0e /Lib/test
parenta828586c3a2a2c07558f8872ef115adc3e24ad9f (diff)
downloadcpython-866964c3a3823c8d42c51a41c5c7264a569200b4.zip
cpython-866964c3a3823c8d42c51a41c5c7264a569200b4.tar.gz
cpython-866964c3a3823c8d42c51a41c5c7264a569200b4.tar.bz2
Apply SF patch 652930: Add optional base argument to math.log(x[, base]).
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_math.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index 2d9b55b..8063025 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -113,6 +113,7 @@ print 'log'
testit('log(1/e)', math.log(1/math.e), -1)
testit('log(1)', math.log(1), 0)
testit('log(e)', math.log(math.e), 1)
+testit('log(32,2)', math.log(32,2), 5)
print 'log10'
testit('log10(0.1)', math.log10(0.1), -1)