Make torchaudio work on Python 2. (#209)
- 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:
Edward Z. Yang <ezyang@fb.com>
Showing
Please register or sign in to comment