# HG changeset patch # User Amine Sehili # Date 1570655413 -3600 # Node ID 398eab3c377c30b806f6b61b0c03fe809fa1e4a9 # Parent 0f6ef74c65a9cbaf92f412434e635c4aa7aaaa47 Fix AudioRegion.split_and_plot test diff -r 0f6ef74c65a9 -r 398eab3c377c tests/test_core.py --- 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,