Repository: mir-evaluation/mir_eval
Issue: py-test test not working in version 0.6
Root cause: External Dependency Breakage

The tests have several deprecated dependencies:

> `py.test-3.7 `
```
============================= test session starts ==============================
platform darwin -- Python 3.7.7, pytest-5.4.3, py-1.8.2, pluggy-0.13.1
rootdir: /opt/local/var/macports/build/_opt_local_ports_python_py-mir_eval/py37-mir_eval/work/craffel-mir_eval-ffb77ba
plugins: html-2.0.1, metadata-1.8.0, xdist-1.31.0, flaky-3.6.1, forked-1.1.3, requests-mock-1.8.0
collected 128 items / 1 error / 127 selected                                   

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_display.py ____________________
ImportError while importing test module '/opt/local/var/macports/build/_opt_local_ports_python_py-mir_eval/py37-mir_eval/work/craffel-mir_eval-ffb77ba/tests/test_display.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_display.py:14: in <module>
    from mpl_ic import image_comparison
tests/mpl_ic.py:26: in <module>
    from matplotlib.testing.noseclasses import KnownFailure
E   ModuleNotFoundError: No module named 'matplotlib.testing.noseclasses'
=============================== warnings summary ===============================
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/nose/importer.py:12
  /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import find_module, load_module, acquire_lock, release_lock

tests/test_beat.py:62
  tests/test_beat.py:62: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_beat_functions will be ignored
    def test_beat_functions():

tests/test_chord.py:31
  tests/test_chord.py:31: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_pitch_class_to_semitone will be ignored
    def test_pitch_class_to_semitone():

tests/test_chord.py:46
  tests/test_chord.py:46: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_scale_degree_to_semitone will be ignored
    def test_scale_degree_to_semitone():

tests/test_chord.py:61
  tests/test_chord.py:61: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_scale_degree_to_bitmap will be ignored
    def test_scale_degree_to_bitmap():

tests/test_chord.py:85
  tests/test_chord.py:85: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_validate_chord_label will be ignored
    def test_validate_chord_label():

tests/test_chord.py:100
  tests/test_chord.py:100: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_split will be ignored
    def test_split():

tests/test_chord.py:126
  tests/test_chord.py:126: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_join will be ignored
    def test_join():

tests/test_chord.py:143
  tests/test_chord.py:143: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_rotate_bitmaps_to_roots will be ignored
    def test_rotate_bitmaps_to_roots():

tests/test_chord.py:165
  tests/test_chord.py:165: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_encode will be ignored
    def test_encode():

tests/test_chord.py:207
  tests/test_chord.py:207: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_encode_many will be ignored
    def test_encode_many():

tests/test_chord.py:261
  tests/test_chord.py:261: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_mirex will be ignored
    def test_mirex():

tests/test_chord.py:284
  tests/test_chord.py:284: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_thirds will be ignored
    def test_thirds():

tests/test_chord.py:302
  tests/test_chord.py:302: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_thirds_inv will be ignored
    def test_thirds_inv():

tests/test_chord.py:314
  tests/test_chord.py:314: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_triads will be ignored
    def test_triads():

tests/test_chord.py:329
  tests/test_chord.py:329: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_triads_inv will be ignored
    def test_triads_inv():

tests/test_chord.py:341
  tests/test_chord.py:341: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tetrads will be ignored
    def test_tetrads():

tests/test_chord.py:356
  tests/test_chord.py:356: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tetrads_inv will be ignored
    def test_tetrads_inv():

tests/test_chord.py:368
  tests/test_chord.py:368: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_majmin will be ignored
    def test_majmin():

tests/test_chord.py:385
  tests/test_chord.py:385: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_majmin_inv will be ignored
    def test_majmin_inv():

tests/test_chord.py:405
  tests/test_chord.py:405: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_sevenths will be ignored
    def test_sevenths():

tests/test_chord.py:424
  tests/test_chord.py:424: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_sevenths_inv will be ignored
    def test_sevenths_inv():

tests/test_chord.py:540
  tests/test_chord.py:540: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_chord_functions will be ignored
    def test_chord_functions():

tests/test_chord.py:566
  tests/test_chord.py:566: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_quality_to_bitmap will be ignored
    def test_quality_to_bitmap():

tests/test_hierarchy.py:21
  tests/test_hierarchy.py:21: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tmeasure_pass will be ignored
    def test_tmeasure_pass():

tests/test_hierarchy.py:71
  tests/test_hierarchy.py:71: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tmeasure_fail_span will be ignored
    def test_tmeasure_fail_span():

tests/test_hierarchy.py:104
  tests/test_hierarchy.py:104: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tmeasure_fail_frame_size will be ignored
    def test_tmeasure_fail_frame_size():

tests/test_hierarchy.py:123
  tests/test_hierarchy.py:123: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_lmeasure_pass will be ignored
    def test_lmeasure_pass():

tests/test_hierarchy.py:175
  tests/test_hierarchy.py:175: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_lmeasure_fail_span will be ignored
    def test_lmeasure_fail_span():

tests/test_hierarchy.py:213
  tests/test_hierarchy.py:213: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_lmeasure_fail_frame_size will be ignored
    def test_lmeasure_fail_frame_size():

tests/test_hierarchy.py:229
  tests/test_hierarchy.py:229: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_hierarchy_regression will be ignored
    def test_hierarchy_regression():

tests/test_key.py:40
  tests/test_key.py:40: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_key_functions will be ignored
    def test_key_functions():

tests/test_melody.py:373
  tests/test_melody.py:373: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_melody_functions will be ignored
    def test_melody_functions():

tests/test_melody.py:406
  tests/test_melody.py:406: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_melody_functions_continuous_voicing_equivalence will be ignored
    def test_melody_functions_continuous_voicing_equivalence():

tests/test_onset.py:54
  tests/test_onset.py:54: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_onset_functions will be ignored
    def test_onset_functions():

tests/test_pattern.py:51
  tests/test_pattern.py:51: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_pattern_functions will be ignored
    def test_pattern_functions():

tests/test_segment.py:135
  tests/test_segment.py:135: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_segment_functions will be ignored
    def test_segment_functions():

tests/test_separation.py:238
  tests/test_separation.py:238: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_separation_functions will be ignored
    def test_separation_functions():

tests/test_tempo.py:45
  tests/test_tempo.py:45: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tempo_pass will be ignored
    def test_tempo_pass():

tests/test_tempo.py:63
  tests/test_tempo.py:63: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tempo_fail will be ignored
    def test_tempo_fail():

tests/test_tempo.py:89
  tests/test_tempo.py:89: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_tempo_regression will be ignored
    def test_tempo_regression():

tests/test_transcription.py:194
  tests/test_transcription.py:194: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_regression will be ignored
    def test_regression():

tests/test_transcription.py:215
  tests/test_transcription.py:215: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_invalid_pitch will be ignored
    def test_invalid_pitch():

tests/test_transcription.py:226
  tests/test_transcription.py:226: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_inconsistent_int_pitch will be ignored
    def test_inconsistent_int_pitch():

tests/test_transcription_velocity.py:15
  tests/test_transcription_velocity.py:15: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_negative_velocity will be ignored
    def test_negative_velocity():

tests/test_transcription_velocity.py:26
  tests/test_transcription_velocity.py:26: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_wrong_shape_velocity will be ignored
    def test_wrong_shape_velocity():

tests/test_transcription_velocity.py:75
  tests/test_transcription_velocity.py:75: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_regression will be ignored
    def test_regression():

tests/test_util.py:293
  tests/test_util.py:293: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_has_kwargs will be ignored
    def test_has_kwargs():

tests/test_util.py:320
  tests/test_util.py:320: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_sort_labeled_intervals will be ignored
    def test_sort_labeled_intervals():

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========================== short test summary info ============================
ERROR tests/test_display.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================== 49 warnings, 1 error in 0.89s =========================
```

As you can see from the ModuleNotFoundError this project does not use pytest but nose for its test suite.