Skip to content

Commit

Permalink
Skip test_expansion_channel_mismatch for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Sep 11, 2024
1 parent 2212a3c commit 4387499
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_node_multichannel_expansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,17 @@ def test_expansion_channel_array_remove(graph):
assert np.all(a.output_buffer[1] == 3)


@pytest.mark.skip
def test_expansion_channel_mismatch(graph):
a = SineOscillator([440, 880])
with pytest.raises(InvalidChannelCountException):
_ = StereoPanner(a)
# Hmm... is there any elegant way to have this exception raised when running in
# a foreground thread but not when in the audio thread? Skipping this test for now.
# with pytest.raises(InvalidChannelCountException):
# _ = StereoPanner(a)
b = Buffer([1, 2, 3])
c = BufferPlayer(b)
with pytest.raises(InvalidChannelCountException):
c.set_input("rate", [1, 1.5])
# with pytest.raises(InvalidChannelCountException):
# c.set_input("rate", [1, 1.5])


def test_expansion_recursive(graph):
Expand Down

0 comments on commit 4387499

Please sign in to comment.