diff options
Diffstat (limited to 'tests/test_conftest.py')
-rw-r--r-- | tests/test_conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_conftest.py b/tests/test_conftest.py index 2019bfd0b..fedc6b43f 100644 --- a/tests/test_conftest.py +++ b/tests/test_conftest.py @@ -41,7 +41,7 @@ def test_no_qapp(request): def test_fail_on_warnings(): with pytest.raises(PendingDeprecationWarning): - warnings.warn('test', PendingDeprecationWarning, stacklevel=2) + warnings.warn('test', PendingDeprecationWarning) @pytest.mark.xfail(reason="https://github.com/qutebrowser/qutebrowser/issues/1070", |