Skip to content

Commit

Permalink
Fix exception in AudioGraph test
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Aug 3, 2024
1 parent 11b48a2 commit 209c5c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from signalflow import AudioGraph, AudioOut_Dummy, Buffer, SineOscillator, Line, Constant, Add
from signalflow import InsufficientBufferSizeException
from . import count_zero_crossings, graph
import pytest
import numpy as np
Expand Down Expand Up @@ -37,7 +38,7 @@ def test_graph_cyclic(graph):
def test_graph_render(graph):
sine = SineOscillator(440)
graph.play(sine)
with pytest.raises(RuntimeError):
with pytest.raises(InsufficientBufferSizeException):
graph.render(441000)
del graph

Expand Down

0 comments on commit 209c5c1

Please sign in to comment.