question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
alcircommented, 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 https://github.com/nipy/nitime/blob/07382c057b628f74d47b525d0552b832b59c18df/nitime/tests/test_timeseries.py#L690

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.

0reactions
sanjayankur31commented, Aug 1, 2019

Sorry—I’ll try and collect more information and hopefully that’ll tell us a little more. On my TODO list now 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found