Mercurial > hg > auditok
changeset 302:398eab3c377c
Fix AudioRegion.split_and_plot test
author | Amine Sehili <amine.sehili@gmail.com> |
---|---|
date | Wed, 09 Oct 2019 22:10:13 +0100 |
parents | 0f6ef74c65a9 |
children | ce60e2ec33b0 |
files | tests/test_core.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_core.py Wed Oct 09 22:08:48 2019 +0100 +++ b/tests/test_core.py Wed Oct 09 22:10:13 2019 +0100 @@ -856,7 +856,7 @@ data = fp.read() region = AudioRegion(data, 10, 2, 1) - with patch("auditok.core.plot_detections") as patch_fn: + with patch("auditok.plotting.plot") as patch_fn: regions = region.split_and_plot( min_dur=0.2, max_dur=5,