Nicolas Kaiser added the comment:
Sorry, found it - with patched builds of Python 2.6.5 and 3.1.2:
python2.6 test_binascii.py
test_base64invalid (__main__.BinASCIITest) ... ok
test_base64valid (__main__.BinASCIITest) ... ok
test_crc32 (__main__.BinASCIITest) ... ok
test_empty_string (__main__
Nicolas Kaiser added the comment:
That's ./Lib/test/test_unittest.py?
With patched builds of Python 2.6.5 and 3.1.2:
--
Ran 126 tests in 0.015s
OK
-
Changes by Nicolas Kaiser :
--
keywords: +patch
Added file: http://bugs.python.org/file19504/python-binascii.diff
___
Python tracker
<http://bugs.python.org/issue10
New submission from Nicolas Kaiser :
Hi there!
I noticed two expressions that can be simplified like:
(a || (!a && b)) => (a || b)
Best regards,
Nicolas Kaiser
---
--- a/Modules/binascii.c2010-11-05 13:21:22.075303326 +0100
+++ b/Modules/binascii.c2010-11-05 13:24:1