Skip to content

Commit 89e83d7

Browse files
committed
Fix test
1 parent 0c95cf3 commit 89e83d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python_version: ["3.10", "3.11"]
18+
python_version: ["3.8", "3.9", "3.10", "3.11"]
1919
steps:
2020
- uses: actions/[email protected]
2121
- uses: actions/setup-python@v5

tests/test_audio.py

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def test_wav_to_chunks() -> None:
4040
chunks = list(wav_to_chunks(wav_read, samples_per_chunk=1000))
4141
assert len(chunks) == 16
4242
for chunk in chunks:
43+
assert isinstance(chunk, AudioChunk)
4344
assert chunk.rate == 16000
4445
assert chunk.width == 2
4546
assert chunk.channels == 1

0 commit comments

Comments
 (0)