simplified test function

This commit is contained in:
Sankt Petersbug 2018-08-14 20:29:42 -05:00
parent c1c08852f9
commit 212ee450b7
1 changed files with 2 additions and 2 deletions

View File

@ -296,8 +296,8 @@ def test_filterwarnings_mark_registration(testdir):
import pytest
@pytest.mark.filterwarnings('error')
def test_error():
assert True
def test_func():
pass
"""
)
result = testdir.runpytest("--strict")