From 0e362b524c7daea14c7cb2a6d62c35884c6364f8 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 27 Jul 2015 10:26:27 +0200 Subject: [PATCH] python/tests/test_cvec.py: remove whitespace and unused variable (closes #19), thanks to SivaCoHan --- python/tests/test_cvec.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python/tests/test_cvec.py b/python/tests/test_cvec.py index 2cc76ef9..1f3c9eca 100755 --- a/python/tests/test_cvec.py +++ b/python/tests/test_cvec.py @@ -9,7 +9,6 @@ class aubio_cvec_test_case(TestCase): def test_vector_created_with_zeroes(self): a = cvec(10) - a shape(a.norm) shape(a.phas) a.norm[0] @@ -35,17 +34,17 @@ class aubio_cvec_test_case(TestCase): def test_assign_cvec_norm_slice(self): spec = cvec(1024) spec.norm[40:100] = 100 - assert_equal (spec.norm[0:40], 0) - assert_equal (spec.norm[40:100], 100) - assert_equal (spec.norm[100:-1], 0) - assert_equal (spec.phas, 0) + assert_equal(spec.norm[0:40], 0) + assert_equal(spec.norm[40:100], 100) + assert_equal(spec.norm[100:-1], 0) + assert_equal(spec.phas, 0) def test_assign_cvec_phas_slice(self): spec = cvec(1024) spec.phas[39:-1] = -pi - assert_equal (spec.phas[0:39], 0) - assert_equal (spec.phas[39:-1], -pi) - assert_equal (spec.norm, 0) + assert_equal(spec.phas[0:39], 0) + assert_equal(spec.phas[39:-1], -pi) + assert_equal(spec.norm, 0) if __name__ == '__main__': from unittest import main -- 2.11.0