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 required, not float
> 
> Would we normally add a test for that?

Depends if you're fearing a regression.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to