Public bug reported: ii python-pytest 2.8.7-4 ii python-pytest-timeout 0.4-2
Version of python-pytest-timeout is too old for python-pytest. Here example of deprecation warning: 1.py: import pytest @pytest.mark.timeout(timeout=300) def test_something(): pass py.test 1.py -r w == test session starts == platform linux2 -- Python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 rootdir: /tmp, inifile: plugins: testinfra-1.4.4, timeout-1.2.0 collected 1 items 1.py . == pytest-warning summary === WI1 /usr/lib/python2.7/dist-packages/pytest_timeout.py:68 'pytest_runtest_protocol' hook uses deprecated __multicall__ argument == 1 passed, 1 pytest-warnings in 0.00 seconds == According to pytest authors this is due to timeout plugin outdated. https://github.com/pytest-dev/pytest/issues/2332 Please update python-pytest-timeout This issue affects Ubuntu Xenial. ** Affects: python-pytest-timeout (Ubuntu) Importance: Undecided Status: New ** Description changed: - ii python-pytest 2.8.7-4 + ii python-pytest 2.8.7-4 ii python-pytest-timeout 0.4-2 Version of python-pytest-timeout is too old for python-pytest. Here example of deprecation warning: 1.py: import pytest @pytest.mark.timeout(timeout=300) def test_something(): - pass + pass py.test 1.py -r w == test session starts == platform linux2 -- Python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 - rootdir: /tmp, inifile: + rootdir: /tmp, inifile: plugins: testinfra-1.4.4, timeout-1.2.0 - collected 1 items + collected 1 items 1.py . == pytest-warning summary === WI1 /usr/lib/python2.7/dist-packages/pytest_timeout.py:68 'pytest_runtest_protocol' hook uses deprecated __multicall__ argument == 1 passed, 1 pytest-warnings in 0.00 seconds == According to pytest authors this is due to timeout plugin outdated. https://github.com/pytest-dev/pytest/issues/2332 - Please update python-timeout + Please update python-pytest-timeout This issue affects Ubuntu Xenial. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1676301 Title: pytest-timeout causing deprecation warnings with ubuntu's pytest To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pytest-timeout/+bug/1676301/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs