A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/wolever/parameterized/issues/34 below:

Pytest 'yield tests are deprecated, and scheduled to be removed in pytest 4.0' · Issue #34 · wolever/parameterized · GitHub

This test leads to a pytest-warning on Pytest 3.0+:

from nose_parameterized import parameterized

@parameterized([
    ('foo',)
])
def test_foo(foo):
    pass

Like:

============================================================== pytest-warning summary ==============================================================
WC1 /path/to/test_foo.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
=================================================== 1 passed, 1 pytest-warnings in 0.10 seconds ====================================================

Maybe the strategy for use within pytest should be reworked.

ammarnajjar, floer32 and jlumbroso


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