Changeset a1bf01d


Ignore:
Timestamp:
Nov 28, 2016, 6:18:49 PM (8 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, sampler, yinfft+
Children:
fa6373c
Parents:
d98f3c0
Message:

python/tests/: use local import, create init.py

Location:
python/tests
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • python/tests/eval_pitch

    rd98f3c0 ra1bf01d  
    2525import os.path
    2626import numpy
    27 from utils import array_from_text_file, array_from_yaml_file
     27from .utils import array_from_text_file, array_from_yaml_file
    2828from aubio import source, pitch, freqtomidi
    2929
  • python/tests/test_filter.py

    rd98f3c0 ra1bf01d  
    44from numpy.testing import TestCase, assert_equal, assert_almost_equal
    55from aubio import fvec, digital_filter
    6 from utils import array_from_text_file
     6from .utils import array_from_text_file
    77
    88class aubio_filter_test_case(TestCase):
  • python/tests/test_filterbank.py

    rd98f3c0 ra1bf01d  
    66import numpy as np
    77from aubio import cvec, filterbank, float_type
    8 from utils import array_from_text_file
     8from .utils import array_from_text_file
    99
    1010class aubio_filterbank_test_case(TestCase):
  • python/tests/test_sink.py

    rd98f3c0 ra1bf01d  
    55from numpy.testing import TestCase
    66from aubio import fvec, source, sink
    7 from utils import list_all_sounds, get_tmp_sink_path, del_tmp_sink_path
     7from .utils import list_all_sounds, get_tmp_sink_path, del_tmp_sink_path
    88
    99list_of_sounds = list_all_sounds('sounds')
  • python/tests/test_slicing.py

    rd98f3c0 ra1bf01d  
    44from numpy.testing import TestCase, assert_equal
    55from aubio import slice_source_at_stamps
    6 from utils import count_files_in_directory, get_default_test_sound
    7 from utils import count_samples_in_directory, count_samples_in_file
     6from .utils import count_files_in_directory, get_default_test_sound
     7from .utils import count_samples_in_directory, count_samples_in_file
    88
    99import tempfile
  • python/tests/test_source.py

    rd98f3c0 ra1bf01d  
    55from numpy.testing import TestCase, assert_equal
    66from aubio import source
    7 from utils import list_all_sounds
     7from .utils import list_all_sounds
    88import numpy as np
    99
Note: See TracChangeset for help on using the changeset viewer.