Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate raising unittest.SkipTest to skip tests during collection #8242

Merged

Commits on Jan 14, 2021

  1. Deprecate raising unittest.SkipTest to skip tests during collection

    It is not very clear why this code exists -- we are not running any
    unittest or nose code during collection, and really these frameworks
    don't have the concept of collection at all, and just raising these
    exceptions at e.g. the module level would cause an error. So unless I'm
    missing something, I don't think anyone is using this.
    
    Deprecate it so we can eventually clear up this code and keep unittest
    more tightly restricted to its plugin.
    bluetech committed Jan 14, 2021
    Copy the full SHA
    25e657b View commit details
    Browse the repository at this point in the history