Closed katyhuff closed 6 years ago
Even in python 2.7, the one test fails because of the following line:
https://github.com/arfc/annsa/blob/b3b7eca913b72ec584c2deb7c7e16db3b72095db/annsa/tests/test_annsa.py#L8
data_path = op.join(sb.__path__[0], 'data')
sb doesn't exist. What's the desired behavior here?
The current behavior is:
(py27) khuff@maria:~/repos/annsa(ci) $ py.test ============================================================================ test session starts ============================================================================= platform darwin -- Python 2.7.11, pytest-2.8.1, py-1.4.30, pluggy-0.3.1 rootdir: /Users/khuff/repos/annsa, inifile: collected 0 items / 1 errors =================================================================================== ERRORS =================================================================================== _________________________________________________________________ ERROR collecting annsa/tests/test_annsa.py _________________________________________________________________ annsa/tests/test_annsa.py:8: in <module> data_path = op.join(sb.__path__[0], 'data') E NameError: name 'sb' is not defined ========================================================================== 1 error in 3.22 seconds ===========================================================================
Even in python 2.7, the one test fails because of the following line:
https://github.com/arfc/annsa/blob/b3b7eca913b72ec584c2deb7c7e16db3b72095db/annsa/tests/test_annsa.py#L8
sb doesn't exist. What's the desired behavior here?
The current behavior is: