Skip to content

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

Open
@ignatenkobrain

Description

@ignatenkobrain

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

Activity

arokem

arokem commented on Dec 8, 2015

@arokem
Member
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) on Dec 12, 2015
sanjayankur31

sanjayankur31 commented on Nov 6, 2018

@sanjayankur31

Hiya,

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

arokem

arokem commented on Nov 9, 2018

@arokem
Member

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

sanjayankur31

sanjayankur31 commented on Aug 1, 2019

@sanjayankur31

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

alcir

alcir commented on Nov 12, 2019

@alcir

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @sanjayankur31@arokem@ignatenkobrain@alcir

      Issue actions

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