From cbd0897a89064f78fb142d4c6c44d75e761133ab Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 9 Aug 2020 10:58:49 +0300 Subject: BUG: fix a compile and a test warning --- numpy/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'numpy/conftest.py') diff --git a/numpy/conftest.py b/numpy/conftest.py index 078b09566..b73da8bda 100644 --- a/numpy/conftest.py +++ b/numpy/conftest.py @@ -105,3 +105,7 @@ def check_fpu_mode(request): @pytest.fixture(autouse=True) def add_np(doctest_namespace): doctest_namespace['np'] = numpy + +@pytest.fixture(autouse=True) +def env_setup(monkeypatch): + monkeypatch.setenv('PYTHONHASHSEED', '0') -- cgit v1.2.1