chatgpt_langchain/whisper/tests/conftest.py

15 lines
214 B
Python
Raw Normal View History

2023-03-29 06:14:51 +00:00
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)