[Python-Dev] unit tests for error messages
Antoine Pitrou
solipsis at pitrou.net
Wed Mar 19 19:55:32 CET 2014
More information about the Python-Dev mailing list
Wed Mar 19 19:55:32 CET 2014
- Previous message: [Python-Dev] unit tests for error messages
- Next message: [Python-Dev] unit tests for error messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 19 Mar 2014 10:53:31 -0700 Ethan Furman <ethan at stoneleaf.us> wrote: > I just made a change to some error messages [1] (really, just one): > > old behavior: > > '%o' % 3.14 > 'float' object cannot be interpreted as an integer > > new behavior: > > '%o' % 3.14 > %o format: an integer is required, not float > > Would we normally add a test for that? Depends if you're fearing a regression. Regards Antoine.
- Previous message: [Python-Dev] unit tests for error messages
- Next message: [Python-Dev] unit tests for error messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list