-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Several tests fail with the same error in ploy_ansible/conftest.py:
platform freebsd13 -- Python 2.7.16, pytest-4.5.0, py-1.8.0, pluggy-0.11.0
rootdir: /usr/home/koobs/repos/freebsd/ports/sysutils/py-ploy_ansible/work-py27/ploy_ansible-1.4.1
plugins: xdist-1.28.0, mock-1.10.4, forked-1.0.2
caplog = <_pytest.logging.LogCaptureFixture object at 0x805e29450>
@pytest.fixture
def caplog(caplog):
def messages(self, level=logging.INFO):
return [
x.message
for x in self.records
if x.levelno >= level]
> caplog.messages = messages.__get__(caplog, caplog.__class__)
E AttributeError: can't set attribute
ploy_ansible/conftest.py:16: AttributeError
Metadata
Metadata
Assignees
Labels
No labels