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

dipy test failed on mac osx sierra with ananoda python. #1532

Closed
TakafumiYano opened this Issue May 22, 2018 · 2 comments

Comments

Projects
3 participants
@TakafumiYano
Copy link

TakafumiYano commented May 22, 2018

Description

dipy test failed on mac osx sierra with ananoda python. I installed dipy 0.14 on mac osx with conda command, but it failed to pass the test.

[error log]
FAIL: dipy.viz.tests.test_widgets.test_button_and_slider_widgets

Traceback (most recent call last):
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/nose/util.py", line 620, in newfunc
return func(*arg, **kw)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/numpy/testing/decorators.py", line 147, in skipper_func
return f(*args, **kwargs)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/dipy/testing/decorators.py", line 68, in test_with_xvfb
my_test(*args, **kwargs)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/dipy/viz/tests/test_widgets.py", line 123, in test_button_and_slider_widgets
npt.assert_equal(report.objects, 4)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/numpy/testing/utils.py", line 416, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: 6
DESIRED: 4

FAIL: dipy.viz.tests.test_window.test_order_transparent

Traceback (most recent call last):
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/nose/util.py", line 620, in newfunc
return func(*arg, **kw)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/numpy/testing/decorators.py", line 147, in skipper_func
return f(*args, **kwargs)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/dipy/testing/decorators.py", line 68, in test_with_xvfb
my_test(*args, **kwargs)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/dipy/viz/tests/test_window.py", line 211, in test_order_transparent
npt.assert_equal(arr[150, 150][1] > arr[150, 150][0], True)
File "/Users/takafumi/.pyenv/versions/anaconda3-5.0.0/lib/python3.6/site-packages/numpy/testing/utils.py", line 416, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: False
DESIRED: True


Ran 703 tests in 590.324s

FAILED (SKIP=8, failures=2)
Out[2]: <nose.result.TextTestResult run=703 errors=0 failures=2>

Way to reproduce

  1. installing the anaconda (python 3.6)
  2. conda install -c conda-forge dipy
  3. conda install vtk
  4. ipython
  5. import dipy
  6. dipy.test()
@skoudoro

This comment has been minimized.

Copy link
Member

skoudoro commented Sep 20, 2018

This issue was moved to fury-gl/fury#14

@skoudoro

This comment has been minimized.

Copy link
Member

skoudoro commented Sep 20, 2018

This issue was moved to fury-gl/fury#17

@skoudoro skoudoro moved this from Issues to Done in Viz Module Oct 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment