Changeset d4fae34


Ignore:
Timestamp:
Nov 1, 2018, 11:55:25 PM (6 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/timestretch, fix/ffmpeg5, master
Children:
ecd370b
Parents:
7debeb6
Message:

[tests] remove init.py, use absolute imports

Location:
python/tests
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_filter.py

    r7debeb6 rd4fae34  
    33from numpy.testing import TestCase, assert_equal, assert_almost_equal
    44from aubio import fvec, digital_filter
    5 from .utils import array_from_text_file
     5from utils import array_from_text_file
    66
    77class aubio_filter_test_case(TestCase):
  • python/tests/test_filterbank.py

    r7debeb6 rd4fae34  
    55
    66from aubio import cvec, filterbank, float_type
    7 from .utils import array_from_text_file
     7from utils import array_from_text_file
    88
    99class aubio_filterbank_test_case(TestCase):
  • python/tests/test_mfcc.py

    r7debeb6 rd4fae34  
    11#! /usr/bin/env python
    22
    3 from ._tools import parametrize, assert_raises
     3from _tools import parametrize, assert_raises
    44from numpy import random, count_nonzero
    55from numpy.testing import TestCase
  • python/tests/test_midi2note.py

    r7debeb6 rd4fae34  
    33
    44from aubio import midi2note
    5 from ._tools import parametrize, assert_raises
     5from _tools import parametrize, assert_raises
    66
    77list_of_known_midis = (
  • python/tests/test_note2midi.py

    r7debeb6 rd4fae34  
    66from aubio import note2midi, freq2note, note2freq, float_type
    77from numpy.testing import TestCase
    8 from ._tools import parametrize, assert_raises
     8from _tools import parametrize, assert_raises
    99
    1010list_of_known_notes = (
  • python/tests/test_notes.py

    r7debeb6 rd4fae34  
    44from aubio import notes, source
    55import numpy as np
    6 from .utils import list_all_sounds
     6from utils import list_all_sounds
    77
    88list_of_sounds = list_all_sounds('sounds')
  • python/tests/test_phasevoc.py

    r7debeb6 rd4fae34  
    22
    33from numpy.testing import TestCase, assert_equal, assert_array_less
    4 from ._tools import parametrize
     4from _tools import parametrize
    55from aubio import fvec, cvec, pvoc, float_type
    66import numpy as np
  • python/tests/test_slicing.py

    r7debeb6 rd4fae34  
    33from numpy.testing import TestCase, assert_equal
    44from aubio import slice_source_at_stamps
    5 from .utils import count_files_in_directory, get_default_test_sound
    6 from .utils import count_samples_in_directory, count_samples_in_file
     5from utils import count_files_in_directory, get_default_test_sound
     6from utils import count_samples_in_directory, count_samples_in_file
    77
    88import tempfile
Note: See TracChangeset for help on using the changeset viewer.