You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that tests/test_index.py::IndexSerialization::test_interleaving sometimes fails:
> assert all(
all(np.allclose(a, b) for a, b in zip(L, E))
for L, E in zip(leaves, expected)
)
...
x = array([ 2, 92, 51, 55, 26, 95, 7, 81, 38, 22, 58, 89, 91, 83, 98, 37, 70,
31, 49, 34, 11, 6, 13, 3, 23, 57, ... 54, 88, 72, 97, 60, 62, 48, 19,
25, 76, 59, 66, 64, 79, 94, 40, 32, 46, 47, 15, 68, 10, 0, 80, 56,
50])
y = array([ 2., 92., 51., 55., 26., 95., 7., 81., 38., 22., 58., 89., 91.,
83., 98., 37., 70., 31., 49., 34., 11.,...48., 19., 25.,
76., 59., 66., 64., 79., 94., 40., 32., 46., 47., 15., 68., 10.,
0., 80., 56., 50., 30.])
Error: Command ['sh', '-c', 'pytest -v /project/tests'] failed with code 1.
atol = 1e-08, rtol = 1e-05
def within_tol(x, y, atol, rtol):
with errstate(invalid='ignore'):
> return less_equal(abs(x-y), atol + rtol * abs(y))
E ValueError: operands could not be broadcast together with shapes (69,) (70,)
looking at the test data, it should have size 70, so for some reason leaves misses the last element 30. Curious to see if this this issue is valid or intermittent. I can't replicate it locally.
It seems that
tests/test_index.py::IndexSerialization::test_interleaving
sometimes fails:looking at the test data, it should have size 70, so for some reason
leaves
misses the last element30
. Curious to see if this this issue is valid or intermittent. I can't replicate it locally.Originally posted by @mwtoews in #227 (comment)
The text was updated successfully, but these errors were encountered: