Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_math.py @ 26661:b12e326b4ea2 legacy-trunk
Apply SF patch 652930: Add optional base argument to math.log(x[, base]).
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sat, 14 Dec 2002 19:51:34 +0000 |
| parents | 226ba34bd998 |
| children | 2ed34f01c81c |
line wrap: on
line diff
--- a/Lib/test/test_math.py Sat Dec 14 17:17:56 2002 +0000 +++ b/Lib/test/test_math.py Sat Dec 14 19:51:34 2002 +0000 @@ -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)
