chatgpt_langchain/whisper/tests/conftest.py

15 lines
214 B
Python

import random as rand
import numpy
import pytest
def pytest_configure(config):
config.addinivalue_line("markers", "requires_cuda")
@pytest.fixture
def random():
rand.seed(42)
numpy.random.seed(42)