[issue8248] Add test cases for bool

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou 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 _

[issue8248] Add test cases for bool

2010-03-28 Thread Gregory Nofi
Changes by Gregory Nofi : Added file: http://bugs.python.org/file16685/test_bool.v3.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8248] Add test cases for bool

2010-03-28 Thread Gregory Nofi
Gregory Nofi 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 the py3k branch. --

[issue8248] Add test cases for bool

2010-03-28 Thread Antoine Pitrou
Antoine Pitrou 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 Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue8248] Add test cases for bool

2010-03-27 Thread Gregory Nofi
Changes by Gregory Nofi : Added file: http://bugs.python.org/file16678/test_bool.v3.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8248] Add test cases for bool

2010-03-27 Thread Gregory Nofi
New submission from Gregory Nofi : 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 currently helping Dino Viehla