Description
Reported by waldherr on 2012-08-23 08:58 UTC
I get the following output:
FAIL: testRootLocus (rlocus_test.TestRootLocus)
Basic root locus plot
Traceback (most recent call last):
File "/.../control-0.5b/tests/rlocus_test.py", line 31, in testRootLocus
rlist[k], feedback(self.sys1, klist[k]).pole())
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal
header=('Arrays are not almost equal to %d decimals' % decimal))
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/numpy/testing/utils.py", line 636, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 6 decimals
(mismatch 100.0%)
x: array([-1.5-1.6583124j, -1.5+1.6583124j])
y: array([-1.5+1.6583124j, -1.5-1.6583124j])
I guess that test shouldn't fail just because of a different element order in the array?