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/2014-March/132993.html below:

[Python-Dev] unittest.TestCase.assert* methods calling TestCase.fail method directly.

[Python-Dev] unittest.TestCase.assert* methods calling TestCase.fail method directly. [Python-Dev] unittest.TestCase.assert* methods calling TestCase.fail method directly.Pradyun Gedam pradyunsg at gmail.com
Sat Mar 8 09:37:36 CET 2014
Hi All,

This is my first time on any mailing list... Please point out any mistakes..

I had a suggestion about the implementation of
unittest.TestCase.assert* methods. They all call failureException
separately. This is also what the unittest.TestCase.fail method does.

Is there any specific reason it is so?

If not, then is there any reason stopping them from calling the
unittest.TestCase.fail method? As then we have one point where all the
tests fail meaning that one can reimplement the unittest.TestCase.fail
method for handling test failures in their own custom way.


Regards,
Pradyun
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