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

Update advice about _called_from_test. #6168

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Update advice about _called_from_test. #6168

merged 1 commit into from
Nov 14, 2019

Commits on Nov 14, 2019

  1. Update advice about _called_from_test.

    Instead of giving an example of using sys and then, at the end,
    advising not to use sys, just give a correct example. This is
    especially helpful since mypy 0.740 has started (correctly) complaining
    about sys._called_from_pytest not being present.
    shields-fn committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    bd68c2a View commit details
    Browse the repository at this point in the history