def hz_to_note_number(frequency):
    # MIDI note numbers are defined as the number of semitones relative to C0
    # in a 440 Hz tuning
    return 12*(np.log2(frequency) - np.log2(440.0)) + 69
Test that no reference is kept on a successful test.
dataset/ETHPy150Open craffel/pretty-midi/pretty_midi/utilities.py/hz_to_note_number--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_tests.py/TestSuccess.test_noReference