A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-October/105087.html below:

[Python-Dev] Cleaning-up the new unittest API

[Python-Dev] Cleaning-up the new unittest API [Python-Dev] Cleaning-up the new unittest APIAntoine Pitrou solipsis at pitrou.net
Sat Oct 30 18:36:45 CEST 2010
On Sat, 30 Oct 2010 12:02:27 -0400
"R. David Murray" <rdmurray at bitdance.com> wrote:
> 
> I don't disagree with this simplification, but given that you all want
> to pare down the unittest API, I'd be interested in your opinions on
> issue 10164.  Because the assertBytesEqual method takes an optional
> argument, it seems like it would need to be documented, even though
> it would in a lot of cases just be used through assertEqual.

The optional argument doesn't look very useful. I imagine there are
plenty of special cases where you could need custom splitting of
bytestrings on a given byte, a regexp pattern, or along some fixed
chunk length, but they are special cases.

Regards

Antoine.


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