Skip to content

Set hypothesis HealthCheck #22593

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

Closed
TomAugspurger opened this issue Sep 4, 2018 · 5 comments · Fixed by #22597
Closed

Set hypothesis HealthCheck #22593

TomAugspurger opened this issue Sep 4, 2018 · 5 comments · Fixed by #22597
Labels
CI Continuous Integration good first issue Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Milestone

Comments

@TomAugspurger
Copy link
Contributor

from #22280 (comment)

# add to pandas/conftest.py
from hypothesis import settings, HealthCheck

settings.default.suppress_health_check = (HealthCheck.TooSlow,)
                                       # HealthCheck.all() to disable all health checks
@TomAugspurger TomAugspurger added Testing pandas testing functions or related to the test suite CI Continuous Integration Unreliable Test Unit tests that occasionally fail Effort Low good first issue labels Sep 4, 2018
@TomAugspurger TomAugspurger added this to the 0.24.0 milestone Sep 4, 2018
@alimcmaster1
Copy link
Member

Makes sense to me @TomAugspurger raised a PR :)

@alimcmaster1
Copy link
Member

Perhaps we want to register a CI profile and another for dev similar to the examples here . What do you think?

@jreback
Copy link
Contributor

jreback commented Sep 5, 2018

profiles sounds ok to me

@EzraBC
Copy link

EzraBC commented Sep 5, 2018

I'm interested in working on this as my first issue. When perusing https://hypothesis.readthedocs.io/en/latest/healthchecks.html, it seems as though the argument should read HealthCheck.too_slow, am I missing something silly?

@alimcmaster1
Copy link
Member

Thanks @EzraBC for being willing to contribute ! I’ve already raised a PR for this #22597 , but please take a look at other issues tagged with good first issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration good first issue Testing pandas testing functions or related to the test suite Unreliable Test Unit tests that occasionally fail
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants