A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2014-March/133298.html below:

[Python-Dev] unit tests for error messages

[Python-Dev] unit tests for error messages [Python-Dev] unit tests for error messagesEthan Furman ethan at stoneleaf.us
Wed Mar 19 18:53:31 CET 2014
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4