Skip to content

Support nose.plugins.skip.SkipTest at import time #236

@pytestbot

Description

@pytestbot

Originally reported by: Floris Bruynooghe (BitBucket: flub, GitHub: flub)


It seems in nose you can raise nose.plugins.skip.SkipTest at import time of a test module. Nose will then just list this as a skipped test. When running this with py.test this will show up as an collection error instead (which is annoying since -x stops on it).

It would be nice if py.test would recognise this exception and also list the module as skipped.


Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions