Changeset 088760e for python/tests/test_fvec.py
- Timestamp:
- Oct 31, 2018, 10:26:52 PM (5 years ago)
- Branches:
- feature/constantq
- Children:
- c03d191
- Parents:
- 45c2c5c (diff), 7a54b37 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_fvec.py
r45c2c5c r088760e 60 60 self.assertRaises(IndexError, a.__getitem__, 3) 61 61 self.assertRaises(IndexError, a.__getitem__, 2) 62 63 def test_wrong_dimensions(self): 64 a = np.array([[[1, 2], [3, 4]]], dtype=float_type) 65 self.assertRaises(ValueError, fvec, a) 66 67 def test_wrong_size(self): 68 a = np.ndarray([0,], dtype=float_type) 69 self.assertRaises(ValueError, fvec, a) 62 70 63 71 class aubio_wrong_fvec_input(TestCase):
Note: See TracChangeset
for help on using the changeset viewer.