Skip to content

Serveral tests fail due to (pytest 4.x?) changes #20

@koobs

Description

@koobs

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions