--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: pytest-catchlog FTBFS with pytest 3.3.2-2
- From: Adrian Bunk <bunk@debian.org>
- Date: Sun, 11 Mar 2018 17:57:52 +0200
- Message-id: <152078387223.9590.11646706971249365395.reportbug@localhost>
Source: pytest-catchlog
Version: 1.2.2+git20170915-3
Severity: serious
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytest-catchlog.html
...
I: pybuild base:184: 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-catchlog-1.2.2+git20170915, inifile:
plugins: catchlog-1.2.2
collecting ... collected 25 items
tests/test_compat.py::test_camel_case_aliases FAILED [ 4%]
=================================== FAILURES ===================================
___________________________ test_camel_case_aliases ____________________________
testdir = <Testdir local('/tmp/pytest-of-pbuilder1/pytest-0/test_camel_case_aliases0')>
def test_camel_case_aliases(testdir):
testdir.makepyfile('''
import logging
logger = logging.getLogger(__name__)
def test_foo(caplog):
caplog.setLevel(logging.INFO)
logger.debug('boo!')
with caplog.atLevel(logging.WARNING):
logger.info('catch me if you can')
''')
result = testdir.runpytest()
> assert result.ret == 0
E assert 1 == 0
E + where 1 = <_pytest.pytester.RunResult instance at 0x7f8b617edcf8>.ret
/build/1st/pytest-catchlog-1.2.2+git20170915/tests/test_compat.py:19: AssertionError
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux2 -- Python 2.7.14+, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /tmp/pytest-of-pbuilder1/pytest-0/test_camel_case_aliases0, inifile:
plugins: catchlog-1.2.2
collected 1 item
test_camel_case_aliases.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_foo ___________________________________
caplog = <_pytest.logging.LogCaptureFixture object at 0x7f8b618820d0>
def test_foo(caplog):
> caplog.setLevel(logging.INFO)
E AttributeError: 'LogCaptureFixture' object has no attribute 'setLevel'
test_camel_case_aliases.py:6: AttributeError
=============================== warnings summary ===============================
None
pytest-catchlog plugin has been merged into the core, please remove it from your requirements.
-- Docs: http://doc.pytest.org/en/latest/warnings.html
===================== 1 failed, 1 warnings in 0.34 seconds =====================
=============================== warnings summary ===============================
None
pytest-catchlog plugin has been merged into the core, please remove it from your requirements.
-- Docs: http://doc.pytest.org/en/latest/warnings.html
===================== 1 failed, 1 warnings in 2.64 seconds =====================
E: pybuild pybuild:283: 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:17: override_dh_auto_install] Error 25
--- End Message ---