Source: pytest-tornado
Version: 0.4.5-2
Severity: serious

Some recent change in unstable makes pytest-tornado FTBFS and Debci fail:

https://ci.debian.net/packages/p/pytest-tornado/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytest-tornado.html

...
I: pybuild base:215: python2.7 -m pytest -v -x
============================= test session starts ==============================
platform linux2 -- Python 2.7.14+, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 -- 
/usr/bin/python2.7
cachedir: .cache
rootdir: /build/1st/pytest-tornado-0.4.5, inifile:
plugins: tornado-0.4.5
collecting ... collected 40 items

pytest_tornado/test/test_async.py::test_explicit_start_and_stop PASSED   [  2%]
pytest_tornado/test/test_async.py::test_explicit_start_and_stop ERROR    [  5%]

==================================== ERRORS ====================================
______________ ERROR at teardown of test_explicit_start_and_stop _______________

    def _close():
        io_loop.clear_current()
>       if (not tornado.ioloop.IOLoop.initialized() or
                io_loop is not tornado.ioloop.IOLoop.instance()):
E               AttributeError: type object 'IOLoop' has no attribute 
'initialized'

pytest_tornado/plugin.py:136: AttributeError
=============================== warnings summary ===============================
pytest_tornado/test/test_async.py::test_generators_with_disabled_gen_test_marker
  yield tests are deprecated, and scheduled to be removed in pytest 4.0

-- Docs: http://doc.pytest.org/en/latest/warnings.html
================ 1 passed, 1 warnings, 1 error in 1.49 seconds =================
E: pybuild pybuild:323: test: plugin custom failed with: exit code=1: python2.7 
-m pytest -v -x
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned 
exit code 13
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25

Reply via email to