Closed
Description
I tried running the test suite for 1.5.1 on numpy 1.11 beta 2 and I am seeing a single failure that we should investigate.
Python 3.5 OSX
======================================================================
FAIL: matplotlib.tests.test_ticker.test_AutoMinorLocator
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/matplotlib/testing/decorators.py", line 118, in wrapped_function
func(*args, **kwargs)
File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/matplotlib/tests/test_ticker.py", line 50, in test_AutoMinorLocator
assert_almost_equal(ax.xaxis.get_ticklocs(minor=True), test_value)
File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py", line 517, in assert_almost_equal
return assert_array_almost_equal(actual, desired, decimal, err_msg)
File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py", line 912, in assert_array_almost_equal
precision=decimal)
File "/Users/jhn/Envs/numpy111betamatplotlib151/lib/python3.5/site-packages/numpy/testing/utils.py", line 688, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 7 decimals
(shapes (21,), (22,) mismatch)
x: array([ 0.05, 0.1 , 0.15, 0.25, 0.3 , 0.35, 0.45, 0.5 , 0.55,
0.65, 0.7 , 0.75, 0.85, 0.9 , 0.95, 1.05, 1.1 , 1.15,
1.25, 1.3 , 1.35])
y: array([ 0.05, 0.1 , 0.15, 0.25, 0.3 , 0.35, 0.45, 0.5 , 0.55,
0.65, 0.7 , 0.75, 0.85, 0.9 , 0.95, 1. , 1.05, 1.1 ,
1.15, 1.25, 1.3 , 1.35])
----------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels