"docs/vscode:/vscode.git/clone" did not exist on "f265d15b9681ad3fc6c0983e0bb06eefcb7b1274"
  1. 29 Jul, 2020 1 commit
    • moto's avatar
      Move BACKEDNS and BACKENDS_MP3 to test module from common_utils (#831) · 8fdb8df2
      moto authored
      Now that most of our test cases are backend aware/agnostic,
      the use of BACKENDS and BACKENDS_MP3 is anti-pattern.
      
      This change moves these definitions to the legacy test module `test_io`.
      
      If a new backend is added in future, that backend should have separate test suite,
      (like the ones in `test/sox_io_backend`) so instead of dynamically listing available
      backend in `test_io`, the changed code only checks "sox" backend and "soundfile" backend.
      8fdb8df2
  2. 21 Jul, 2020 1 commit
  3. 01 Jul, 2020 2 commits
  4. 18 Jun, 2020 1 commit
    • moto's avatar
      Make TestCases backend-aware (#719) · b17da7a4
      moto authored
      * Make tests backend aware by introducing TorchaudioTestCase and reset backend for each TestCase.
      
      * Set backends for the test cases that require specific backend.
      b17da7a4
  5. 27 May, 2020 1 commit
  6. 21 May, 2020 1 commit
  7. 13 Apr, 2020 1 commit
  8. 30 Mar, 2020 2 commits
    • Vincent QB's avatar
      testing with sox only when sox is available (#419) · d63d851e
      Vincent QB authored
      * testing with sox only when sox is available.
      
      * use wav instead of mp3 for testing functions.
      
      * typo.
      
      * guard against not sox.
      
      * backends definition.
      
      * grouping backend functions into a separate file.
      
      * remove duplicated code.
      
      * requires sox.
      
      * replace by wav, requires sox.
      
      * require with scope.
      
      * undo alignment.
      
      * requires sox for these two, because of mp3.
      
      * no longer need first mp3.
      
      * cleaning.
      
      * new wav version of file.
      
      * flake8.
      
      * remove unnecessary load.
      
      * flake8.
      
      * lint.
      
      * lint.
      
      * revert formatting of file.
      
      * merging into common_utils.
      
      * docstring.
      
      * rename to common_utils.
      d63d851e
    • moto's avatar
      Remove PY2 related stuff from test (#478) · beb6e530
      moto authored
      beb6e530
  9. 22 Jan, 2020 1 commit
  10. 02 Jan, 2020 1 commit
  11. 19 Dec, 2019 1 commit
    • Vincent QB's avatar
      Backend switch (#355) · 774ebc78
      Vincent QB authored
      * move sox inside function calls.
      
      * add backend switch mechanism.
      
      * import sox at runtime, not import.
      
      * add backend list.
      
      * backend tests.
      
      * creating hidden modules for backend.
      
      * naming backend same as file: soundfile.
      
      * remove docstring in backend file.
      
      * test soundfile info.
      
      * soundfile doesn't support int64.
      
      * adding test for wav file.
      
      * error with incorrect parameter instead of silent ignore.
      
      * adding test across backend. using float32 as done in sox.
      
      * backend guard decorator.
      774ebc78
  12. 02 Aug, 2019 1 commit
    • Edward Z. Yang's avatar
      Make torchaudio work on Python 2. (#209) · a424509d
      Edward Z. Yang authored
      
      
      - Apply __future__ imports uniformly (future division is the biggy, but absolute
        imports mattered too)
      - Hotfix use of tempfile.TemporaryDirectory using a BC library (DO NOT
        add this library as a dependency to torchaudio; it's only for testing)
      - Replace math.gcd with fractions.gcd
      - Fix a weird pytest collection bug involving parametrized tests
      - Turn on Python 2 and Python 3.7 in Travis.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
      a424509d
  13. 30 Jul, 2019 1 commit
    • Edward Z. Yang's avatar
      Make test scripts runnable without being modules. (#186) · 07b9b9ba
      Edward Z. Yang authored
      
      
      This makes it easier to test against an installed wheel, as the
      torchaudio folder is no longer preferentially picked up when
      you run a test module.
      
      I had to move all tests in subfolders into the top level test
      directory to make this work, since you can't access .. modules
      without mucking around with sys.path (which I don't want to do.)
      
      NB: this BREAKS the syntax where you can run a test by
      saying `python -m test.test`.  Instead, do `python test/test.py`
      or use the pytest runner.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
      07b9b9ba
  14. 24 May, 2019 1 commit
  15. 04 Jan, 2019 1 commit
  16. 25 Dec, 2018 2 commits
  17. 20 Aug, 2018 1 commit
  18. 19 Aug, 2018 1 commit
  19. 09 May, 2018 1 commit
  20. 08 May, 2018 2 commits
  21. 26 Apr, 2018 3 commits
  22. 18 Dec, 2017 1 commit
  23. 03 Sep, 2017 1 commit
  24. 19 Aug, 2017 1 commit
  25. 12 Aug, 2017 1 commit
    • David Pollack's avatar
      basic transforms · 3433b9b6
      David Pollack authored
      vctk dataset
      
      add label processing
      
      added tests
      
      chunk dataset
      
      simple caching scheme
      
      caching fixed
      
      vctk downsample
      
      yesno dataset
      3433b9b6
  26. 05 May, 2017 1 commit