Skip to content

Commit 0ba98cb

Browse files
committed
chord test translation in progress
1 parent 6123d16 commit 0ba98cb

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/test_chord.py

-12
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import mir_eval
66
import numpy as np
77
import pytest
8-
import nose.tools
98
import warnings
109
import glob
1110
import json
@@ -37,17 +36,6 @@ def chord_data(request):
3736
return ref_intervals, ref_labels, est_intervals, est_labels, expected_scores
3837

3938

40-
def __check_valid(function, parameters, result):
41-
''' Helper function for checking the output of a function '''
42-
assert function(*parameters) == result
43-
44-
45-
def __check_exception(function, parameters, exception):
46-
''' Makes sure the provided function throws the provided
47-
exception given the provided input '''
48-
nose.tools.assert_raises(exception, function, *parameters)
49-
50-
5139
@pytest.mark.parametrize('pitch, semitone', [
5240
('Gbb', 5),
5341
('G', 7),

0 commit comments

Comments
 (0)