Skip to content

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

Enable faulthandler

David Rubinstein989baf56d94f
diff --git a/tests/test_inference.py b/tests/test_inference.py
index 02ce64e..77334d1 100644
--- a/tests/test_inference.py
+++ b/tests/test_inference.py
@@ -15,6 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import faulthandler
import os
import pathlib
import tempfile
@@ -36,6 +37,8 @@ from basic_pitch.constants import (
RESOURCES_PATH = pathlib.Path(__file__).parent / "resources"
+faulthandler.enable()
+
class TestPredict(unittest.TestCase):
def test_predict(self) -> None: