Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created January 15, 2013 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/4537967 to your computer and use it in GitHub Desktop.
Save cdeil/4537967 to your computer and use it in GitHub Desktop.
eduroam-3-163:bottleneck deil$ make all
rm -rf bottleneck/src/*~ bottleneck/src/*.so bottleneck/src/*.c bottleneck/src/*.o bottleneck/src/*.html bottleneck/src/build bottleneck/src/../*.so
rm -rf bottleneck/src/func/32bit/*.c bottleneck/src/func/64bit/*.c
rm -rf bottleneck/src/move/32bit/*.c bottleneck/src/move/64bit/*.c
rm -rf bottleneck/src/func/32bit/*.pyx bottleneck/src/func/64bit/*.pyx
rm -rf bottleneck/src/move/32bit/*.pyx bottleneck/src/move/64bit/*.pyx
python -c "from bottleneck.src.makepyx import makepyx; makepyx()"
cython bottleneck/src/func/32bit/func.pyx
cython bottleneck/src/func/64bit/func.pyx
cython bottleneck/src/move/32bit/move.pyx
cython bottleneck/src/move/64bit/move.pyx
rm -rf bottleneck/src/../func.so
python bottleneck/src/func/setup.py build_ext --inplace
running build_ext
skipping 'bottleneck/src/func/64bit/func.c' Cython extension (up-to-date)
building 'func' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c bottleneck/src/func/64bit/func.c -o build/temp.macosx-10.8-x86_64-2.7/bottleneck/src/func/64bit/func.o
In file included from bottleneck/src/func/64bit/func.c:256:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/arrayobject.h:15:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/ndarraytypes.h:1729:
/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: "Using deprecated NumPy API, disable it
by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
bottleneck/src/func/64bit/func.c:332788:15: warning: unused variable 'py_basicsize' [-Wunused-variable]
PyObject *py_basicsize;
^
In file included from bottleneck/src/func/64bit/func.c:257:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/ufuncobject.h:311:
/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/__ufunc_api.h:236:1: warning: unused function '_import_umath'
[-Wunused-function]
_import_umath(void)
^
3 warnings generated.
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.8-x86_64-2.7/bottleneck/src/func/64bit/func.o -o /Users/deil/code/bottleneck/func.so
rm -rf bottleneck/src/../move.so
python bottleneck/src/move/setup.py build_ext --inplace
running build_ext
skipping 'bottleneck/src/move/64bit/move.c' Cython extension (up-to-date)
building 'move' extension
creating build/temp.macosx-10.8-x86_64-2.7/bottleneck/src/move
creating build/temp.macosx-10.8-x86_64-2.7/bottleneck/src/move/64bit
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c bottleneck/src/move/64bit/move.c -o build/temp.macosx-10.8-x86_64-2.7/bottleneck/src/move/64bit/move.o
In file included from bottleneck/src/move/64bit/move.c:256:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/arrayobject.h:15:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/ndarrayobject.h:17:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/ndarraytypes.h:1729:
/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: "Using deprecated NumPy API, disable it
by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
bottleneck/src/move/64bit/move.c:230680:15: warning: unused variable 'py_basicsize' [-Wunused-variable]
PyObject *py_basicsize;
^
In file included from bottleneck/src/move/64bit/move.c:257:
In file included from /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/ufuncobject.h:311:
/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/include/numpy/__ufunc_api.h:236:1: warning: unused function '_import_umath'
[-Wunused-function]
_import_umath(void)
^
3 warnings generated.
/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib build/temp.macosx-10.8-x86_64-2.7/bottleneck/src/move/64bit/move.o -o /Users/deil/code/bottleneck/move.so
python -c "import bottleneck;bottleneck.test()"
Running unit tests for bottleneck
NumPy version 1.8.0.dev-c745862
NumPy is installed in /Users/deil/Library/Python/2.7/lib/python/site-packages/numpy
Python version 2.7.3 (default, Oct 22 2012, 20:01:15) [GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))]
nose version 1.2.1
.................EEEEEEEEEEE..FF......FF......E..........EE......EEEEEEEEEEEEEEEEEEEEEEEE......
======================================================================
ERROR: Test move_sum_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 114, in test_move_sum_selector
fast_checker(bn.move.move_sum_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_nansum_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 118, in test_move_nansum_selector
fast_checker(bn.move.move_nansum_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_mean_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 122, in test_move_mean_selector
fast_checker(bn.move.move_mean_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_median_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 126, in test_move_median_selector
fast_checker(bn.move.move_median_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_nanmean_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 130, in test_move_nanmean_selector
fast_checker(bn.move.move_nanmean_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_std_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 134, in test_move_std_selector
fast_checker(bn.move.move_std_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_nanstd_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 138, in test_move_nanstd_selector
fast_checker(bn.move.move_nanstd_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_min_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 142, in test_move_min_selector
fast_checker(bn.move.move_min_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_max_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 146, in test_move_max_selector
fast_checker(bn.move.move_max_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_nanmin_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 150, in test_move_nanmin_selector
fast_checker(bn.move.move_nanmin_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Test move_nanmax_selector.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/fast_test.py", line 154, in test_move_nanmixn_selector
fast_checker(bn.move.move_nanmax_selector, mode='move')
AttributeError: 'module' object has no attribute 'move'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_sum')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/input_modifcation_test.py", line 74, in test_modification
bn.move_sum,
AttributeError: 'module' object has no attribute 'move_sum'
======================================================================
ERROR: Test rankdata.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 36, in unit_maker
desired = func0(*argsi)
File "bottleneck/slow/func.py", line 120, in rankdata
for ij in np.ndindex(*itshape):
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/lib/index_tricks.py", line 536, in __init__
x = as_strided(_nx.zeros(1), shape=shape, strides=_nx.zeros_like(shape))
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/lib/stride_tricks.py", line 28, in as_strided
return np.asarray(DummyArray(interface, base=x))
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/numeric.py", line 324, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: __array_interface__ shape must be at least size 1
======================================================================
ERROR: Test nanrankdata.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 36, in unit_maker
desired = func0(*argsi)
File "bottleneck/slow/func.py", line 137, in nanrankdata
for ij in np.ndindex(*itshape):
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/lib/index_tricks.py", line 536, in __init__
x = as_strided(_nx.zeros(1), shape=shape, strides=_nx.zeros_like(shape))
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/lib/stride_tricks.py", line 28, in as_strided
return np.asarray(DummyArray(interface, base=x))
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/core/numeric.py", line 324, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: __array_interface__ shape must be at least size 1
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_sum')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 117, in test_move_sum
yield unit_maker, bn.move_sum, bn.slow.move_sum, (2,)
AttributeError: 'module' object has no attribute 'move_sum'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nansum')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 121, in test_move_nansum
yield unit_maker, bn.move_nansum, bn.slow.move_nansum, (2,)
AttributeError: 'module' object has no attribute 'move_nansum'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_mean')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 125, in test_move_mean
yield unit_maker, bn.move_mean, bn.slow.move_mean, (2,)
AttributeError: 'module' object has no attribute 'move_mean'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_median')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 129, in test_move_median
yield unit_maker, bn.move_median, bn.slow.move_median, (2,)
AttributeError: 'module' object has no attribute 'move_median'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmean')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 133, in test_move_nanmean
yield unit_maker, bn.move_nanmean, bn.slow.move_nanmean, (2,)
AttributeError: 'module' object has no attribute 'move_nanmean'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_std')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 137, in test_move_std
yield unit_maker, bn.move_std, bn.slow.move_std, (2,)
AttributeError: 'module' object has no attribute 'move_std'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanstd')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 141, in test_move_nanstd
yield unit_maker, bn.move_nanstd, bn.slow.move_nanstd, (2,)
AttributeError: 'module' object has no attribute 'move_nanstd'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_min')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 145, in test_move_min
yield unit_maker, bn.move_min, bn.slow.move_min, (2,)
AttributeError: 'module' object has no attribute 'move_min'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_max')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 149, in test_move_max
yield unit_maker, bn.move_max, bn.slow.move_max, (2,)
AttributeError: 'module' object has no attribute 'move_max'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmin')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 153, in test_move_nanmin
yield unit_maker, bn.move_nanmin, bn.slow.move_nanmin, (2,)
AttributeError: 'module' object has no attribute 'move_nanmin'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmax')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/list_input_test.py", line 157, in test_move_nanmax
yield unit_maker, bn.move_nanmax, bn.slow.move_nanmax, (2,)
AttributeError: 'module' object has no attribute 'move_nanmax'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_sum')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 73, in test_move_sum
yield unit_maker, bn.move_sum, bn.slow.move_sum, 5
AttributeError: 'module' object has no attribute 'move_sum'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nansum')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 77, in test_move_nansum
yield unit_maker, bn.move_nansum, bn.slow.move_nansum, 5
AttributeError: 'module' object has no attribute 'move_nansum'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_mean')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 81, in test_move_mean
yield unit_maker, bn.move_mean, bn.slow.move_mean, 5
AttributeError: 'module' object has no attribute 'move_mean'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_median')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 85, in test_move_median
yield unit_maker, bn.move_median, bn.slow.move_median, 5, False
AttributeError: 'module' object has no attribute 'move_median'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmean')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 89, in test_move_nanmean
yield unit_maker, bn.move_nanmean, bn.slow.move_nanmean, 5
AttributeError: 'module' object has no attribute 'move_nanmean'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_std')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 93, in test_move_std
yield unit_maker, bn.move_std, bn.slow.move_std, 5
AttributeError: 'module' object has no attribute 'move_std'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanstd')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 97, in test_move_nanstd
yield unit_maker, bn.move_nanstd, bn.slow.move_nanstd, 5
AttributeError: 'module' object has no attribute 'move_nanstd'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_min')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 101, in test_move_min
yield unit_maker, bn.move_min, bn.slow.move_min, 5
AttributeError: 'module' object has no attribute 'move_min'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_max')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 105, in test_move_max
yield unit_maker, bn.move_max, bn.slow.move_max, 5
AttributeError: 'module' object has no attribute 'move_max'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmin')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 109, in test_move_nanmin
yield unit_maker, bn.move_nanmin, bn.slow.move_nanmin, 5
AttributeError: 'module' object has no attribute 'move_nanmin'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmax')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 231, in generate
for test in g():
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 113, in test_move_nanmax
yield unit_maker, bn.move_nanmax, bn.slow.move_nanmax, 5
AttributeError: 'module' object has no attribute 'move_nanmax'
======================================================================
ERROR: Test move_std for neg sqrt.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 127, in test_move_std_sqrt
b = bn.move_std(a, window=3)
AttributeError: 'module' object has no attribute 'move_std'
======================================================================
ERROR: Test move_nanstd for neg sqrt.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/move_test.py", line 147, in test_move_nanstd_sqrt
b = bn.move_nanstd(a, window=3)
AttributeError: 'module' object has no attribute 'move_nanstd'
======================================================================
FAIL: Test nanargmin.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/func_test.py", line 76, in unit_maker
assert_array_equal(actual, desired, err_msg)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 719, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 645, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
func nanargmin | input a88 (float32) | shape (2, 3) | axis -1
Input array:
[[ nan nan nan]
[ 3. 4. 5.]]
(mismatch 100.0%)
x: array('Crashed',
dtype='|S7')
y: array([-9223372036854775808, 0])
======================================================================
FAIL: Test nanargmax.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/func_test.py", line 76, in unit_maker
assert_array_equal(actual, desired, err_msg)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 719, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 645, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
func nanargmax | input a88 (float32) | shape (2, 3) | axis -1
Input array:
[[ nan nan nan]
[ 3. 4. 5.]]
(mismatch 100.0%)
x: array('Crashed',
dtype='|S7')
y: array([-9223372036854775808, 2])
======================================================================
FAIL: Test rankdata.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/func_test.py", line 76, in unit_maker
assert_array_equal(actual, desired, err_msg)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 719, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 645, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
func rankdata | input a0 (int32) | shape (0,) | axis -1
Input array:
[]
(mismatch 100.0%)
x: array([], dtype=float64)
y: array('Crashed',
dtype='|S7')
======================================================================
FAIL: Test nanrankdata.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/code/bottleneck/bottleneck/tests/func_test.py", line 76, in unit_maker
assert_array_equal(actual, desired, err_msg)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 719, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/numpy/testing/utils.py", line 645, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
func nanrankdata | input a0 (int32) | shape (0,) | axis -1
Input array:
[]
(mismatch 100.0%)
x: array([], dtype=float64)
y: array('Crashed',
dtype='|S7')
----------------------------------------------------------------------
Ran 95 tests in 30.445s
FAILED (errors=38, failures=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment