From c64d34df7dae3317a3d507a732f53dd95da79656 Mon Sep 17 00:00:00 2001 From: Ivan Date: Thu, 13 Jul 2023 18:38:47 +0300 Subject: [PATCH] Upgraded tests. Replaced fixtures with 'session' with empty once. This is explained by failed tests with caching 'session' fixtures --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index b17b8100..3f61dd7f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -33,7 +33,7 @@ def setup_sampler(request): return Sampler(1e-1) -@fixture(scope='session') +@fixture def setup_rand() -> Random: return Random(231) @@ -53,7 +53,7 @@ def setup_landscape_many_holders(): ]) -@fixture(scope='session') +@fixture def setup_simple_synthetic(setup_rand) -> SimpleSynthetic: return SimpleSynthetic(setup_rand)