[issue8248] Add test cases for bool

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r79502, r79504 (trunk) and r79503 (py3k). Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8248] Add test cases for bool

2010-03-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8248 ___

[issue8248] Add test cases for bool

2010-03-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Decimal tests should probably be in test_decimal, not test_bool. Also, I'm not sure why the __index__ and format tests aren't in the py3k patch. -- nosy: +pitrou ___ Python tracker

[issue8248] Add test cases for bool

2010-03-28 Thread Gregory Nofi
Gregory Nofi crackityjones200...@yahoo.com added the comment: Indeed, the Decimal test is better off in test_decimal.DecimalExplicitConstructionTest so I moved it there. I forgot to include the index test for the py3k patch. That's in the updated patch, too. There is already a format test in

[issue8248] Add test cases for bool

2010-03-28 Thread Gregory Nofi
Changes by Gregory Nofi crackityjones200...@yahoo.com: Added file: http://bugs.python.org/file16685/test_bool.v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8248 ___

[issue8248] Add test cases for bool

2010-03-27 Thread Gregory Nofi
New submission from Gregory Nofi crackityjones200...@yahoo.com: These patches add these new test cases to test_bool.py. Python 2+3: - Conversion to float - Conversion to Decimal - Calling bool() of built-in types Python 2 only: - __index__() - Conversion to long - sprintf formatting NOTE: I'm

[issue8248] Add test cases for bool

2010-03-27 Thread Gregory Nofi
Changes by Gregory Nofi crackityjones200...@yahoo.com: Added file: http://bugs.python.org/file16678/test_bool.v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8248 ___