commit | 866964c3a3823c8d42c51a41c5c7264a569200b4 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Dec 14 19:51:34 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Dec 14 19:51:34 2002 +0000 |
tree | 0ad3fb175d1d8fadb3005ed94ff43a97e82caa0e | |
parent | a828586c3a2a2c07558f8872ef115adc3e24ad9f [diff] [blame] |
Apply SF patch 652930: Add optional base argument to math.log(x[, base]).
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 @@ 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)