[Python-Dev] unit tests for error messages (original) (raw)
Ethan Furman ethan at stoneleaf.us
Wed Mar 19 18:53:31 CET 2014
- Previous message: [Python-Dev] Issues about relative& absolute import way for Porting from python2.4 to python2.7
- Next message: [Python-Dev] unit tests for error messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: http://bugs.python.org/issue19995
- Previous message: [Python-Dev] Issues about relative& absolute import way for Porting from python2.4 to python2.7
- Next message: [Python-Dev] unit tests for error messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]