From 8eb9cfcd064a412f5757622d1da343b1730c034d Mon Sep 17 00:00:00 2001 From: Zac-HD Date: Fri, 24 Jan 2020 16:28:16 +1100 Subject: Install and configure Hypothesis --- numpy/conftest.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'numpy/conftest.py') diff --git a/numpy/conftest.py b/numpy/conftest.py index a843f725f..1d3e0349f 100644 --- a/numpy/conftest.py +++ b/numpy/conftest.py @@ -3,6 +3,7 @@ Pytest configuration and fixtures for the Numpy test suite. """ import os +import hypothesis import pytest import numpy @@ -12,6 +13,12 @@ from numpy.core._multiarray_tests import get_fpu_mode _old_fpu_mode = None _collect_results = {} +# See https://hypothesis.readthedocs.io/en/latest/settings.html +hypothesis.settings.register_profile( + name="numpy-profile", deadline=None, print_blob=True, +) +hypothesis.settings.load_profile("numpy-profile") + def pytest_configure(config): config.addinivalue_line("markers", -- cgit v1.2.1