2025-plovdiv-testing-debugging/hands_on_solutions/logistic_fun/conftest2.py
2025-09-19 10:46:45 +02:00

10 lines
179 B
Python

import numpy as np
import pytest
SEED = 42
@pytest.fixture
def random_state():
print(f'Seed: {SEED}')
random_state = np.random.RandomState(SEED)
return random_state