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)