python310Packages.fastnumbers: disable hypothesis too slow healthcheck through upstream defined profiles
log lines I have: last 10 log lines: > tests/test_fastnumbers.py:1330: in test_given_unicode_digit_returns_true > @parametrize("func", get_funcs(funcs), ids=funcs) > E hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Only produced 9 valid examples in 1.26 seconds (0 invalid ones and 0 exceeded maximum size). Try decreasing size of the data you're generating (with e.g. max_size or max_leaves parameters). > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test. > ---------------------------------- Hypothesis ---------------------------------- > You can add @seed(21402865096374572269346745328342401108) to this test or run pytest with --hypothesis-seed=21402865096374572269346745328342401108 to reproduce this failure. > =========================== short test summary info ============================ > FAILED tests/test_fastnumbers.py::TestCheckingFunctions::test_given_unicode_digit_returns_true[check_int] - hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Onl... > ============ 1 failed, 1838 passed, 1 skipped in 383.89s (0:06:23) ============= > /nix/store/37p8gq9zijbw6pj3lpi1ckqiv18j2g62-stdenv-linux/setup: line 1594: pop_var_context: head of shell_variables not a function context For full logs, run 'nix log /nix/store/avsxawhbbrfmp0128i5qfsqkzxka343z-python3.10-fastnumbers-5.0.1.drv'.
This commit is contained in:
parent
86b8fccf9c
commit
222222fd76
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fastnumbers
|
||||
, fetchFromGitHub
|
||||
, hypothesis
|
||||
, numpy
|
||||
|
@ -43,6 +42,10 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--hypothesis-profile=standard"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fastnumbers"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue