Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[32bit] nitime.tests.test_timeseries.test_basic_slicing: npt.assert_equal(len(t[ep]), x) #136

Open
ignatenkobrain opened this issue Oct 30, 2015 · 5 comments

Comments

@ignatenkobrain
Copy link
Contributor

Fails only on i686:

======================================================================
FAIL: nitime.tests.test_timeseries.test_basic_slicing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/nitime-rel-0.5/nitime/tests/test_timeseries.py", line 672, in test_basic_slicing
    npt.assert_equal(len(t[ep]), x)
  File "/usr/lib/python3.4/site-packages/numpy/testing/utils.py", line 354, in assert_equal
    raise AssertionError(msg)
AssertionError: 
Items are not equal:
 ACTUAL: 0
 DESIRED: 1
@arokem
Copy link
Member

arokem commented Dec 8, 2015

This one also reproduced on Windows: https://ci.appveyor.com/project/arokem/nitime/build/1.0.7/job/nxvdt73pwxrfq8co

@ignatenkobrain ignatenkobrain changed the title [i686] nitime.tests.test_timeseries.test_basic_slicing: npt.assert_equal(len(t[ep]), x) [32bit] nitime.tests.test_timeseries.test_basic_slicing: npt.assert_equal(len(t[ep]), x) Dec 12, 2015
@sanjayankur31
Copy link

Hiya,

Any update on this? I'm building the latest commit 1fab571 and this test still fails on i686.

@arokem
Copy link
Member

arokem commented Nov 9, 2018

I'd like to fix this, but I am not sure: How would I go about reproducing this error?

@sanjayankur31
Copy link

Sorry---I'll try and collect more information and hopefully that'll tell us a little more. On my TODO list now :)

@alcir
Copy link

alcir commented Nov 12, 2019

Hello. I'm not a Python expert, at all.
I'm running pytest on a RPi3 running an armv7hl system.

In the for loop at line 690 of test_timeseries.py

for x in range(3):

when the loop start, x is '0' and len(t[ep]) is 0
when x become 1, len(t[ep]) is 0 as well, and npt.assert_equal(len(t[ep]), x) fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants