Changeset 67f0092


Ignore:
Timestamp:
Aug 29, 2016, 11:07:15 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, pitchshift, sampler, timestretch, yinfft+
Children:
41fc24f
Parents:
55027f3
Message:

python/tests/test_cvec.py: simplify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_cvec.py

    r55027f3 r67f0092  
    1212    def test_vector_created_with_zeroes(self):
    1313        a = cvec(10)
    14         assert_equal(a.norm.shape[0], 10 / 2 + 1)
    15         assert_equal(a.phas.shape[0], 10 / 2 + 1)
    16         _ = a.norm[0]
     14        assert_equal(a.norm.shape[0], 10 // 2 + 1)
     15        assert_equal(a.phas.shape[0], 10 // 2 + 1)
    1716        assert_equal(a.norm, 0.)
    1817        assert_equal(a.phas, 0.)
Note: See TracChangeset for help on using the changeset viewer.