Update to pytest-bdd 2.16.0.

This avoids deprecation warnings emitted by python 3.5 and pytest 2.8.
This commit is contained in:
Florian Bruhin 2015-12-20 20:11:49 +01:00
parent b8727d338f
commit 2b1622b34d
3 changed files with 1 additions and 11 deletions

View File

@ -349,10 +349,6 @@ def py_proc():
@pytest.yield_fixture(autouse=True)
def fail_tests_on_warnings():
warnings.simplefilter('error')
# https://github.com/pytest-dev/pytest-bdd/issues/153
warnings.filterwarnings('ignore', message=r'inspect.getargspec\(\) is '
r'deprecated, use inspect.signature\(\) instead',
category=DeprecationWarning)
yield
warnings.resetwarnings()

View File

@ -23,7 +23,6 @@
import os
import sys
import warnings
import inspect
import pytest
@ -50,8 +49,3 @@ def test_installed_package():
"""Make sure the tests are running against the installed package."""
print(sys.path)
assert '.tox' in qutebrowser.__file__.split(os.sep)
def test_getargspec():
"""Make sure the getargspec DeprecationWarning gets ignored."""
inspect.getargspec(lambda: None) # pylint: disable=deprecated-method

View File

@ -27,7 +27,7 @@ deps =
parse-type==0.3.4
py==1.4.31
pytest==2.8.5
pytest-bdd==2.15.0
pytest-bdd==2.16.0
pytest-catchlog==1.2.1
pytest-cov==2.2.0
pytest-faulthandler==1.3.0