mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
17 lines
290 B
Python
17 lines
290 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)
|
|
|
|
# Automated edit: Enhance documentation to reflect recent changes in data.
|