Ignore:
Timestamp:
Mar 10, 2013, 5:37:28 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
8c4560e
Parents:
9ead7a9
Message:

tests/test_{midi2note,note2midi}.py: add header and encoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_note2midi.py

    r9ead7a9 r7d89e61  
    1 # -*- encoding: utf8 -*-
     1#! /usr/bin/env python
     2# -*- coding: utf-8 -*-
    23
    34from aubio import note2midi
     
    2324        )
    2425
    25 class TestNote2MidiGoodValues(unittest.TestCase):
     26class note2midi_good_values(unittest.TestCase):
    2627
    2728    def test_note2midi_known_values(self):
     
    3031            self.assertEqual ( note2midi(note), midi )
    3132
    32 class TestNote2MidiWrongValues(unittest.TestCase):
     33class note2midi_wrong_values(unittest.TestCase):
    3334
    3435    def test_note2midi_missing_octave(self):
Note: See TracChangeset for help on using the changeset viewer.