Skip to content

test_collect_invalid_signature_message fails with Python 2.7 #4815

@kulikjak

Description

@kulikjak

One test introduced in #4196 (Issue 4026) fails for me with Python 2.7.

import pytest
class TestCase:
    @pytest.fixture(autouse=True)
    def fix():
        pass

Instead of

Could not determine arguments of ....

it ends up with

collected 0 items
=== no tests ran in 0.01 seconds ===

and without any error. Python 3 versions do fail as expected.

Here is some info about the system:

platform sunos5 -- Python 2.7.15, pytest-4.3.0, py-1.7.0, pluggy-0.8.1
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('...')
rootdir: .../pytest, inifile:
plugins: hypothesis-4.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions