mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 07:44:14 +01:00
13 lines
481 B
Diff
13 lines
481 B
Diff
diff --git a/tests/test_api.py b/tests/test_api.py
|
|
index 1fef8de..f5b8fac 100644
|
|
--- a/tests/test_api.py
|
|
+++ b/tests/test_api.py
|
|
@@ -48,7 +48,7 @@ def test_simple(data, converter_type, ratio=2.0):
|
|
def test_process(data, converter_type, ratio=2.0):
|
|
num_channels, input_data = data
|
|
src = samplerate.Resampler(converter_type, num_channels)
|
|
- src.process(input_data, ratio)
|
|
+ src.process(input_data.copy(), ratio)
|
|
|
|
|
|
def test_match(data, converter_type, ratio=2.0):
|