[issue16045] create some unit tests for built-in int()

2012-09-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the pointer. That should do it. :) Searching for "test_int(" completely missed test_int.py. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue16045] create some unit tests for built-in int()

2012-09-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, have you looked at test_int? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mail

[issue16045] create some unit tests for built-in int()

2012-09-25 Thread Chris Jerdonek
New submission from Chris Jerdonek: The built-in function int() does not seem to have any basic unit tests (e.g. in test_builtin). It would be good to add some. Some cases (including edge cases) for possible inclusion: int() int(base='foo') # no exception; returns 0 int(x=5) int(x=5, base=10