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

Unit test fail in test_swath for test_self_map and test_self_map_multi #22

Closed
cdeil opened this issue Jan 24, 2015 · 3 comments
Closed

Comments

@cdeil
Copy link

cdeil commented Jan 24, 2015

I see two unit test fails from pyresample on Mac OS X 10.10 with numpy 1.9.1:

I think the fail is the same, but for some reason only on Python the values are printed by nose!???

======================================================================
FAIL: test_self_map (pyresample.test.test_swath.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/deil/code/pyresample/pyresample/test/test_swath.py", line 51, in test_self_map
    msg='Failed self mapping swath for 1 channel')
AssertionError: 668848.14481726696 != 668848.082208 within 1 places : Failed self mapping swath for 1 channel

======================================================================
FAIL: test_self_map_multi (pyresample.test.test_swath.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/deil/code/pyresample/pyresample/test/test_swath.py", line 71, in test_self_map_multi
    msg='Failed self mapping swath multi for channel 1')
AssertionError: 668848.14481726696 != 668848.082208 within 1 places : Failed self mapping swath multi for channel 1

----------------------------------------------------------------------

There's also a bunch of warnings that I guess should be caught in the library or tests if it's normal and expected behaviour.

@mraspaud
Copy link
Member

Thanks for reporting this @cdiel !
Unfortunately we have no access to macos machines here, and travis-ci doesn't seem to be wanting to run on osx at the moment, so it's a bit hard to debug. Do you have a possibility patch this and send a pull request ? Thanks !

@mraspaud
Copy link
Member

mraspaud commented Apr 7, 2017

@davidh-ssec @cdeil Are the unittests working in MacOS now ?

@djhoese
Copy link
Member

djhoese commented Apr 7, 2017

@mraspaud Yes they should now with commits 6a035f3 and ac6132c.

@djhoese djhoese closed this as completed Apr 7, 2017
pnuu pushed a commit to pnuu/pyresample that referenced this issue Nov 29, 2018
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

3 participants