Nicolas Kaiser ni...@nikai.net 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
New submission from Nicolas Kaiser ni...@nikai.net:
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
Changes by Nicolas Kaiser ni...@nikai.net:
--
keywords: +patch
Added file: http://bugs.python.org/file19504/python-binascii.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10324
Nicolas Kaiser ni...@nikai.net 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