Skip to content

Commit

Permalink
Change hypothesis params in test_read_clip test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Jul 15, 2023
1 parent f092b8f commit 0508765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/test_audio/test_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

import numpy as np
from uuid import uuid4
import pytest
import xarray as xr
from hypothesis import HealthCheck, given, settings
Expand Down Expand Up @@ -84,7 +85,7 @@ def test_read_clip(
wav = np.random.random((samples, channels)).astype(np.float32)

# Save the wav to a file
path = tmp_path / "test.wav"
path = tmp_path / f"{uuid4()}.wav"

# Save the wav with the adjusted samplerate
adjusted_samplerate = int(np.floor(samplerate / time_expansion))
Expand Down
1 change: 0 additions & 1 deletion tests/test_audio/test_spectrograms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Test suite for spectrograms functions."""

import numpy as np
import pytest
import xarray as xr

from soundevent import audio, data
Expand Down

0 comments on commit 0508765

Please sign in to comment.