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/2017-November/150437.html below:

[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff

[Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoff [Python-Dev] [python-committers] Enabling depreciation warnings feature code cutoffNick Coghlan ncoghlan at gmail.com
Thu Nov 9 20:58:45 EST 2017
On 10 November 2017 at 11:53, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On 10 November 2017 at 11:32, Nathaniel Smith <njs at pobox.com> wrote:
>> Is this intended to be a description of the current state of affairs?
>> Because I've never encountered a test runner that does this... Which runners
>> are you thinking of?
>
> Ah, you're right, pytest currently still requires individual
> developers to opt-in, rather than switching the defaults:
> https://docs.pytest.org/en/latest/warnings.html#pytest-mark-filterwarnings
>
> That's not the intention - we expect test runners to switch the
> defaults the same way unittest does:
> https://docs.python.org/3/library/unittest.html#unittest.TextTestRunner

Issue filed for pytest here: https://github.com/pytest-dev/pytest/issues/2908

I haven't checked nose2's behaviour.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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