Skip to content

Commit

Permalink
simplified test function
Browse files Browse the repository at this point in the history
  • Loading branch information
sankt-petersbug committed Aug 15, 2018
1 parent c1c0885 commit 212ee45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/test_warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 212ee45

Please sign in to comment.