1. 21 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Take advantage of the cache when running tests. · b670c266
      Aymeric Augustin authored
      Caching models across test cases and across runs of the test suite makes
      slow tests somewhat more bearable.
      
      Use gettempdir() instead of /tmp in tests. This makes it easier to
      change the location of the cache with semi-standard TMPDIR/TEMP/TMP
      environment variables.
      
      Fix #2222.
      b670c266
  2. 18 Dec, 2019 1 commit
  3. 13 Dec, 2019 1 commit
  4. 10 Dec, 2019 1 commit
  5. 06 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Remove dependency on pytest for running tests (#2055) · 35401fe5
      Aymeric Augustin authored
      * Switch to plain unittest for skipping slow tests.
      
      Add a RUN_SLOW environment variable for running them.
      
      * Switch to plain unittest for PyTorch dependency.
      
      * Switch to plain unittest for TensorFlow dependency.
      
      * Avoid leaking open files in the test suite.
      
      This prevents spurious warnings when running tests.
      
      * Fix unicode warning on Python 2 when running tests.
      
      The warning was:
      
          UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
      
      * Support running PyTorch tests on a GPU.
      
      Reverts 27e015bd.
      
      * Tests no longer require pytest.
      
      * Make tests pass on cuda
      35401fe5
  6. 29 Nov, 2019 1 commit
  7. 14 Nov, 2019 1 commit
  8. 12 Nov, 2019 1 commit
  9. 11 Nov, 2019 1 commit
  10. 08 Nov, 2019 1 commit
  11. 07 Nov, 2019 1 commit
  12. 06 Nov, 2019 3 commits
  13. 05 Nov, 2019 1 commit
  14. 04 Nov, 2019 3 commits
  15. 30 Oct, 2019 1 commit