Re: [Python-Dev] unit tests for error messages

2014-03-19 Thread Antoine Pitrou
On Wed, 19 Mar 2014 10:53:31 -0700 Ethan Furman et...@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

[Python-Dev] unit tests for error messages

2014-03-19 Thread Ethan Furman
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? -- ~Ethan~ [1] Issue 19995:

Re: [Python-Dev] unit tests for error messages

2014-03-19 Thread Georg Brandl
Am 19.03.2014 19:55, schrieb Antoine Pitrou: On Wed, 19 Mar 2014 10:53:31 -0700 Ethan Furman et...@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:

Re: [Python-Dev] unit tests for error messages

2014-03-19 Thread R. David Murray
On Wed, 19 Mar 2014 20:32:38 +0100, Georg Brandl g.bra...@gmx.net wrote: Am 19.03.2014 19:55, schrieb Antoine Pitrou: On Wed, 19 Mar 2014 10:53:31 -0700 Ethan Furman et...@stoneleaf.us wrote: I just made a change to some error messages [1] (really, just one): old behavior: