Skip to content

sigalrm fails test #1777

Closed
Closed
@Nick0001

Description

@Nick0001

Test session starts (platform: linux2, Python 2.7.11, pytest 2.9.2, pytest-sugar 0.7.1)

My Program uses a timer with sigalrm for a timeout. If I run a test to test this feature via pytest and I only run this one test, the test passes, but if I run the "group" or all tests, the problem is that py.test seems to recognize the sigalrm and counts it as an error.

Is there any way to filter this signal so that it does not count as error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions