simplified test function
This commit is contained in:
parent
c1c08852f9
commit
212ee450b7
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue