Segmentation Fault when running numpy test (Trac #1815) #2408

Closed
numpy-gitbot opened this Issue Oct 19, 2012 · 15 comments

Comments

Projects
None yet
3 participants

Original ticket http://projects.scipy.org/numpy/ticket/1815 on 2011-04-30 by trac user alex_lai, assigned to unknown.

Hi experts,
I’m wondering if anyone would look into this issue. While testing numpy package, Python crashed with the following error:

sbtorsvr391:~ $ cd /home/dcottr/local/tests
sbtorsvr391:/local/tests $ export PYTHONPATH=$PYTHONPATH:/local/lib/python3.1/site-packages

sbtorsvr391:~/local/tests $ /usr/local/bin/python3 -c "import numpy; numpy.test()"
Running unit tests for numpy
NumPy version 1.5.1
NumPy is installed in /home/dcottr/local/lib/python3.1/site-packages/numpy

Python version 3.1.2 (r312:79147, Mar 23 2010, 02:42:06) [GCC 3.4.6]
nose version 1.0.0
..S...............................................................................................................................................S........Warning: invalid value encountered in isfinite
............................................................................................................................................................................................Warning: invalid value encountered in isinf
Warning: invalid value encountered in isinf
......................................................................................................SSS........................K...........................................................K.....................................................................................................................................................F.F....................K.............................................................................................K...SK.F.......S...........................................................................................Segmentation Fault (core dumped)

        Below is the stack trace from the core dump:

mdb core_sbtorsvr391_python3_10439_5000_1304101376_11246

Loading modules: [ libc.so.1 libavl.so.1 libuutil.so.1 ld.so.1 ]

::stack
libc.so.1strlen+0x50(fba55238, ffbf9ef8, ffbf9761, 0, 0, 0) libc.so.1sprintf+0x40(ffbf9f18, 7fffffff, 7ffffc00, 2, 2, 1b74cc)
test_array_from_pyobj_ext.soarray_from_pyobj+0x4e0(6, 17d3ec0, 1, 7, 16176c0, ff13a5a0) test_array_from_pyobj_ext.sof2py_rout_wrap_call+0xbc(1, 1, 0, 17f000, fffffffe, fba65b94)
PyCFunction_Call+0x90(15ff350, 1841900, 1844e90, 0, 1, 183df38)
PyEval_EvalFrameEx+0x4f10(0, ffbfa1c0, 1615770, 1, 16491b0, 15ff350)
PyEval_EvalCodeEx+0x874(1615770, 161ff60, 0, 160cf3c, 5, 0)
function_call+0x8c(162e270, 160cf30, 0, 17f000, fffffffe, 40)
PyObject_Call+0x44(162e270, 160cf30, 0, 160cf3c, 4, 16176c0)
method_call+0x8c(162e270, 18418d0, 0, 1849f60, 1, 3f)
PyObject_Call+0x44(176b620, 18418d0, 0, 2ed5c, 2efe0, 176b620)
slot_tp_init+0x7c(176b620, 18418d0, 0, 2, 1, 16296d0)
type_call+0xdc(16521a0, 18418d0, 0, 17f000, fffffffe, 3e)
PyObject_Call+0x44(16521a0, 18418d0, 0, 18418d8, 1820030, 183ddbc)
PyEval_EvalFrameEx+0x37b4(0, ffbfa688, 162e9b0, 1, 16259c0, 16521a0)
PyEval_EvalFrameEx+0x5c98(0, ffbfa788, 16154e8, 1, 1626030, 162eb28)
PyEval_EvalFrameEx+0x5c98(0, ffbfa888, 52b260, 1, 57ec00, 162e468)
PyEval_EvalCodeEx+0x874(52b260, 5229c0, 0, 1808834, 2, 1ac03c)
function_call+0x8c(5a36a8, 1808828, 0, 17f000, fffffffe, 3a)
PyObject_Call+0x44(5a36a8, 1808828, 1825a50, 19b000, 163ab30, fe36c4)
PyEval_EvalFrameEx+0x13bc(0, fe36c8, 52b2f0, 1, 526d50, 1808828)
PyEval_EvalCodeEx+0x874(52b2f0, 1, 0, 1808c1c, 2, 0)
function_call+0x8c(5a3738, 1808c10, 0, 17f000, fffffffe, 38)
PyObject_Call+0x44(5a3738, 1808c10, 0, 1808c10, 1, 1849e50)
method_call+0x8c(5a3738, 1630450, 0, 1630440, 9, 37)
PyObject_Call+0x44(1612850, 1630450, 0, 193618, 2, 1612850)
slot_tp_call+0x7c(163ab30, 1630450, 0, 17f000, fffffffe, 36)
PyObject_Call+0x44(163ab30, 1630450, 0, 1630458, 1849e50, fe355c)
PyEval_EvalFrameEx+0x37b4(0, ffbfaf78, b1e0f8, 1, a873a0, 163ab30)
PyEval_EvalFrameEx+0x5c98(0, ffbfb078, b1e0b0, 1, b1db58, b1ed20)
PyEval_EvalCodeEx+0x874(b1e0b0, b0e810, 0, 180b67c, 2, 1ac03c)
function_call+0x8c(b1ecd8, 180b670, 0, 17f000, fffffffe, 33)
PyObject_Call+0x44(b1ecd8, 180b670, 18258a0, 19b000, 163abf0, fe2f3c)
PyEval_EvalFrameEx+0x13bc(0, fe2f40, b1ccc8, 1, b1a350, 180b670)
PyEval_EvalCodeEx+0x874(b1ccc8, 1, 0, 1844dac, 2, 0)
function_call+0x8c(b1ea50, 1844da0, 0, 17f000, fffffffe, 31)
PyObject_Call+0x44(b1ea50, 1844da0, 0, 1844da0, 1, e4ddf0)
method_call+0x8c(b1ea50, 16306d0, 0, 16306c0, b, 30)
PyObject_Call+0x44(176b5a8, 16306d0, 0, 1ab728, 18f708, 176b5a8)
slot_tp_call+0x7c(163abf0, 16306d0, 0, 17f000, fffffffe, 2f)
PyObject_Call+0x44(163abf0, 16306d0, 0, 16306d8, e4ddf0, 18374d8)
PyEval_EvalFrameEx+0x37b4(0, ffbfb768, b2e4e8, 1, ad9ce8, 163abf0)
PyEval_EvalCodeEx+0x874(b2e4e8, b1b4b0, 0, 18087bc, 2, 1ac03c)
function_call+0x8c(a00390, 18087b0, 0, 17f000, fffffffe, 2d)
PyObject_Call+0x44(a00390, 18087b0, 176c810, 19b000, 165c450, 182ea24)
PyEval_EvalFrameEx+0x13bc(0, 182ea28, b2e380, 1, b1ad50, 18087b0)
PyEval_EvalCodeEx+0x874(b2e380, 1, 0, 176b8ac, 2, 0)
function_call+0x8c(a002b8, 176b8a0, 0, 17f000, fffffffe, 2b)
PyObject_Call+0x44(a002b8, 176b8a0, 0, 176b8a0, 1, e4ddf0)
method_call+0x8c(a002b8, 16141b0, 0, 16141a0, 9, 2a)
PyObject_Call+0x44(1612c10, 16141b0, 0, 1ab728, 18f708, 1612c10)
slot_tp_call+0x7c(165c450, 16141b0, 0, 17f000, fffffffe, 29)
PyObject_Call+0x44(165c450, 16141b0, 0, 16141b8, e4ddf0, 1645cf0)
PyEval_EvalFrameEx+0x37b4(0, ffbfbe58, b2e4e8, 1, ad9ce8, 165c450)
PyEval_EvalCodeEx+0x874(b2e4e8, b1b4b0, 0, 16296a4, 2, 1ac03c)
function_call+0x8c(a00390, 1629698, 0, 17f000, fffffffe, 27)
PyObject_Call+0x44(a00390, 1629698, 161f8a0, 19b000, 176a270, 124868c)
PyEval_EvalFrameEx+0x13bc(0, 1248690, b2e380, 1, b1ad50, 1629698)
PyEval_EvalCodeEx+0x874(b2e380, 1, 0, 16127bc, 2, 0)
::quit

The C library used by Python is as follows:

sbtorsvr391:~/local/tests $ ldd /usr/local/bin/python3|grep libc
libc.so.1 => /lib/libc.so.1
/platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1

sbtorsvr391:~ $ ls -l /lib/libc.so.1
-rwxr-xr-x 1 root bin 1640776 Aug 10 2010 /lib/libc.so.1

sbtorsvr391:~ $ pkgchk -l -p /lib/libc.so.1
NOTE: Couldn't lock the package database.
Pathname: /lib/libc.so.1
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: bin
Expected file size (bytes): 1640776
Expected sum(1) of contents: 50250
Expected last modification: Aug 10 13:55:34 2010
Referenced by the following packages:
SUNWcslr
Current status: installed

sbtorsvr391:~ $ pkginfo -l SUNWcslr
PKGINST: SUNWcslr
NAME: Core Solaris Libraries (Root)
CATEGORY: system
ARCH: sparc
VERSION: 11.10.0,REV=2005.01.21.15.53
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: core software for a specific instruction-set architecture
PSTAMP: on10-patch20100511083333
INSTDATE: Jan 22 2011 16:10
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 245 installed pathnames
2 shared pathnames
5 directories
133 executables
34303 blocks used (approx)

The same problem doesn't occur when the command is run as root.

I opened a ticket with Python support. they responsed with the comment:

The issue is actually in numpy. In numpy/f2py/src/fortranobject.c, function array_from_pyobj(), there is::

    sprintf(mess,"failed to initialize intent(inout|inplace|cache) array"
            " -- input must be array but got %s",
            PyString_AsString(PyObject_Str(PyObject_Type(obj)))
            );

(In numpy headers, PyString_AsString is aliased to PyBytes_AsString.) Besides the reference leaks, this function will fail when given the unicode string returned by PyObject_Str(), and sprintf receives the null string...

Please report this to numpy.

I'm hoping I will find answer to this issue here...

Thanks in advance,

Alex

@charris wrote on 2011-04-30

Hi Alex,

Since this problem doesn't show up on most systems we to figure out what is different about your setup. So far I see

SPARC
SUNOS -- ?
python 3.1.2 -- 64 bit?
gcc 3.4.6 -- bit old
nose 1.0.0 -- looks like this version supports python 3, I haven't tried it.

There may have been some fixes for the string part, but I don't think that is the fundamental problem as there are other test failures shown in the output. It would be helpful to see what those were so could you run the tests as 'numpy.test(verbose=2)'?

I suspect library problems or possibly mixed g77 and gfortran compilers, but it is hard to say at the moment.

@charris wrote on 2011-04-30

Hi Alex,

Since this problem doesn't show up on most systems we to figure out what is different about your setup. So far I see

SPARC
SUNOS -- ?
python 3.1.2 -- 64 bit?
gcc 3.4.6 -- bit old 
nose 1.0.0 -- looks like this version supports python 3, I haven't tried it.

There may have been some fixes for the string part, but I don't think that is the fundamental problem as there are other test failures shown in the output. It would be helpful to see what those were so could you run the tests as 'numpy.test(verbose=2)'?

I suspect library problems or possibly mixed g77 and gfortran compilers, but it is hard to say at the moment.

trac user alex_lai wrote on 2011-04-30

Hi Charris,

I ran the test on Solaris 10 system:

sbtorsvr391:/local/tests $ cat /etc/release
Solaris 10 6/06 s10s_u2wos_09a SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 09 June 2006
sbtorsvr391:
/local/tests $ uname -a
SunOS sbtorsvr391 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V490 Solaris
sbtorsvr391:~/local/tests $

As per your requirement, I ran the test with verbose level 2 and below is the result. Please kindly let me know if you need any additional infomation.

sbtorsvr391:~ $ cd /home/dcottr/local/tests
sbtorsvr391:/local/tests $ export PYTHONPATH=$PYTHONPATH:/local/lib/python3.1/site-packages
sbtorsvr391:~/local/tests $ /usr/local/bin/python3 -c "import numpy; numpy.test(verbose=2)"
Running unit tests for numpy
NumPy version 1.5.1
NumPy is installed in /home/dcottr/local/lib/python3.1/site-packages/numpy
Python version 3.1.2 (r312:79147, Mar 23 2010, 02:42:06) [GCC 3.4.6]
nose version 1.0.0
test_arrayprint.TestArrayRepr.test_nan_inf ... ok
test_vecself (test_blasdot.TestInner)
Ticket 844. ... ok
test_blasdot.test_blasdot_used ... SKIP: Skipping test: test_blasdot_used
Numpy is not compiled with dotblas
test_from_object_array (test_defchararray.TestBasic) ... ok
test_from_object_array_unicode (test_defchararray.TestBasic) ... ok
test_from_string (test_defchararray.TestBasic) ... ok
test_from_string_array (test_defchararray.TestBasic) ... ok
test_from_unicode (test_defchararray.TestBasic) ... ok
test_from_unicode_array (test_defchararray.TestBasic) ... ok
test_unicode_upconvert (test_defchararray.TestBasic) ... ok
test_it (test_defchararray.TestChar) ... ok
test_equal (test_defchararray.TestComparisons) ... ok
test_greater (test_defchararray.TestComparisons) ... ok
test_greater_equal (test_defchararray.TestComparisons) ... ok
test_less (test_defchararray.TestComparisons) ... ok
test_less_equal (test_defchararray.TestComparisons) ... ok
test_not_equal (test_defchararray.TestComparisons) ... ok
test_equal (test_defchararray.TestComparisonsMixed1) ... ok
test_greater (test_defchararray.TestComparisonsMixed1) ... ok
test_greater_equal (test_defchararray.TestComparisonsMixed1) ... ok
test_less (test_defchararray.TestComparisonsMixed1) ... ok
test_less_equal (test_defchararray.TestComparisonsMixed1) ... ok
test_not_equal (test_defchararray.TestComparisonsMixed1) ... ok
test_equal (test_defchararray.TestComparisonsMixed2) ... ok
test_greater (test_defchararray.TestComparisonsMixed2) ... ok
test_greater_equal (test_defchararray.TestComparisonsMixed2) ... ok
test_less (test_defchararray.TestComparisonsMixed2) ... ok
test_less_equal (test_defchararray.TestComparisonsMixed2) ... ok
test_not_equal (test_defchararray.TestComparisonsMixed2) ... ok
test_count (test_defchararray.TestInformation) ... ok
test_endswith (test_defchararray.TestInformation) ... ok
test_find (test_defchararray.TestInformation) ... ok
test_index (test_defchararray.TestInformation) ... ok
test_isalnum (test_defchararray.TestInformation) ... ok
test_isalpha (test_defchararray.TestInformation) ... ok
test_isdigit (test_defchararray.TestInformation) ... ok
test_islower (test_defchararray.TestInformation) ... ok
test_isspace (test_defchararray.TestInformation) ... ok
test_istitle (test_defchararray.TestInformation) ... ok
test_isupper (test_defchararray.TestInformation) ... ok
test_len (test_defchararray.TestInformation) ... ok
test_rfind (test_defchararray.TestInformation) ... ok
test_rindex (test_defchararray.TestInformation) ... ok
test_startswith (test_defchararray.TestInformation) ... ok
test_capitalize (test_defchararray.TestMethods) ... ok
test_center (test_defchararray.TestMethods) ... ok
test_decode (test_defchararray.TestMethods) ... ok
test_encode (test_defchararray.TestMethods) ... ok
test_expandtabs (test_defchararray.TestMethods) ... ok
test_isdecimal (test_defchararray.TestMethods) ... ok
test_isnumeric (test_defchararray.TestMethods) ... ok
test_join (test_defchararray.TestMethods) ... ok
test_ljust (test_defchararray.TestMethods) ... ok
test_lower (test_defchararray.TestMethods) ... ok
test_lstrip (test_defchararray.TestMethods) ... ok
test_partition (test_defchararray.TestMethods) ... ok
test_replace (test_defchararray.TestMethods) ... ok
test_rjust (test_defchararray.TestMethods) ... ok
test_rpartition (test_defchararray.TestMethods) ... ok
test_rsplit (test_defchararray.TestMethods) ... ok
test_rstrip (test_defchararray.TestMethods) ... ok
test_split (test_defchararray.TestMethods) ... ok
test_splitlines (test_defchararray.TestMethods) ... ok
test_strip (test_defchararray.TestMethods) ... ok
test_swapcase (test_defchararray.TestMethods) ... ok
test_title (test_defchararray.TestMethods) ... ok
test_upper (test_defchararray.TestMethods) ... ok
test_add (test_defchararray.TestOperations) ... ok
test_mod (test_defchararray.TestOperations)
Ticket #856 ... ok
test_mul (test_defchararray.TestOperations) ... ok
test_radd (test_defchararray.TestOperations) ... ok
test_rmod (test_defchararray.TestOperations) ... ok
test_rmul (test_defchararray.TestOperations) ... ok
test_broadcast_error (test_defchararray.TestVecString) ... ok
test_invalid_args_tuple (test_defchararray.TestVecString) ... ok
test_invalid_function_args (test_defchararray.TestVecString) ... ok
test_invalid_result_type (test_defchararray.TestVecString) ... ok
test_invalid_type_descr (test_defchararray.TestVecString) ... ok
test_non_existent_method (test_defchararray.TestVecString) ... ok
test_non_string_array (test_defchararray.TestVecString) ... ok
test1 (test_defchararray.TestWhitespace) ... ok
test_run (test_dtype.TestBuiltin)
Only test hash runs at all. ... ok
test_metadata_rejects_nondict (test_dtype.TestMetadata) ... ok
test_metadata_takes_dict (test_dtype.TestMetadata) ... ok
test_nested_metadata (test_dtype.TestMetadata) ... ok
test_no_metadata (test_dtype.TestMetadata) ... ok
test1 (test_dtype.TestMonsterType) ... ok
test_different_names (test_dtype.TestRecord) ... ok
test_different_titles (test_dtype.TestRecord) ... ok
test_equivalent_record (test_dtype.TestRecord)
Test whether equivalent record dtypes hash the same. ... ok
test_not_lists (test_dtype.TestRecord)
Test if an appropriate exception is raised when passing bad values to ... ok
test_equivalent_record (test_dtype.TestSubarray)
Test whether equivalent subarray dtypes hash the same. ... ok
test_nonequivalent_record (test_dtype.TestSubarray)
Test whether different subarray dtypes hash differently. ... ok
test_single_subarray (test_dtype.TestSubarray) ... ok
test_divide (test_errstate.TestErrstate) ... ok
test_errcall (test_errstate.TestErrstate) ... ok
test_invalid (test_errstate.TestErrstate) ... ok
test_basic (test_function_base.TestLinspace) ... ok
test_corner (test_function_base.TestLinspace) ... ok
test_type (test_function_base.TestLinspace) ... ok
test_basic (test_function_base.TestLogspace) ... ok
test_singleton (test_getlimits.TestDouble) ... ok
test_basic (test_getlimits.TestIinfo) ... ok
test_unsigned_max (test_getlimits.TestIinfo) ... ok
test_singleton (test_getlimits.TestLongdouble) ... ok
test_singleton (test_getlimits.TestPythonFloat) ... ok
test_singleton (test_getlimits.TestSingle) ... ok
test_getlimits.test_instances ... ok
test_underlow (test_machar.TestMachAr)
Regression testing for #1357: instanciating MachAr for dtype = ... ok
test_attributes (test_memmap.TestMemmap) ... ok
test_del (test_memmap.TestMemmap) ... ok
test_filename (test_memmap.TestMemmap) ... ok
test_filename_fileobj (test_memmap.TestMemmap) ... ok
test_flush (test_memmap.TestMemmap) ... ok
test_open_with_filename (test_memmap.TestMemmap) ... ok
test_roundtrip (test_memmap.TestMemmap) ... ok
test_all (test_multiarray.TestArgmax) ... ok
test_combinations (test_multiarray.TestArgmax) ... ok
test_attributes (test_multiarray.TestAttributes) ... ok
test_dtypeattr (test_multiarray.TestAttributes) ... ok
test_fill (test_multiarray.TestAttributes) ... ok
test_set_stridesattr (test_multiarray.TestAttributes) ... ok
test_stridesattr (test_multiarray.TestAttributes) ... ok
test_test_interning (test_multiarray.TestBool) ... ok
test_basic (test_multiarray.TestChoose) ... ok
test_broadcast1 (test_multiarray.TestChoose) ... ok
test_broadcast2 (test_multiarray.TestChoose) ... ok
test_basic (test_multiarray.TestClip) ... ok
test_max_or_min (test_multiarray.TestClip) ... ok
test_record_array (test_multiarray.TestClip) ... ok
test_from_attribute (test_multiarray.TestCreation) ... ok
test_from_string (test_multiarray.TestCreation) ... ok
test_construction (test_multiarray.TestDtypedescr) ... ok
test_list (test_multiarray.TestFancyIndexing) ... ok
test_tuple (test_multiarray.TestFancyIndexing) ... ok
test_otherflags (test_multiarray.TestFlags) ... ok
test_writeable (test_multiarray.TestFlags) ... ok
test_ip_basic (test_multiarray.TestFromBuffer) ... ok
test_multiarray.TestIO.test_ascii ... ok
test_multiarray.TestIO.test_binary ... ok
test_multiarray.TestIO.test_counted_string ... ok
test_multiarray.TestIO.test_counted_string_with_ws ... ok
test_multiarray.TestIO.test_dtype ... ok
test_multiarray.TestIO.test_empty_files_binary ... ok
test_multiarray.TestIO.test_empty_files_text ... ok
test_multiarray.TestIO.test_inf ... ok
test_multiarray.TestIO.test_locale ... SKIP: Skipping locale test, because French locale not found
test_multiarray.TestIO.test_long_sep ... ok
test_multiarray.TestIO.test_malformed ... ok
test_multiarray.TestIO.test_nan ... ok
test_multiarray.TestIO.test_numbers ... ok
test_multiarray.TestIO.test_roundtrip_binary_str ... ok
test_multiarray.TestIO.test_roundtrip_file ... ok
test_multiarray.TestIO.test_roundtrip_filename ... ok
test_multiarray.TestIO.test_roundtrip_repr ... ok
test_multiarray.TestIO.test_roundtrip_str ... Warning: invalid value encountered in isfinite
ok
test_multiarray.TestIO.test_string ... ok
test_multiarray.TestIO.test_string_with_ws ... ok
test_multiarray.TestIO.test_tofile_format ... ok
test_multiarray.TestIO.test_tofile_sep ... ok
test_basic (test_multiarray.TestLexsort) ... ok
test_argsort (test_multiarray.TestMethods) ... ok
test_dot (test_multiarray.TestMethods) ... ok
test_flatten (test_multiarray.TestMethods) ... ok
test_searchsorted (test_multiarray.TestMethods) ... ok
test_sort (test_multiarray.TestMethods) ... ok
test_sort_order (test_multiarray.TestMethods) ... ok
test_test_round (test_multiarray.TestMethods) ... ok
test_transpose (test_multiarray.TestMethods) ... ok
test_axis (test_multiarray.TestMinMax) ... ok
test_scalar (test_multiarray.TestMinMax) ... ok
test_circular (test_multiarray.TestNeighborhoodIter) ... ok
test_circular_object (test_multiarray.TestNeighborhoodIter) ... ok
test_mirror (test_multiarray.TestNeighborhoodIter) ... ok
test_mirror2d (test_multiarray.TestNeighborhoodIter) ... ok
test_mirror2d_object (test_multiarray.TestNeighborhoodIter) ... ok
test_mirror_object (test_multiarray.TestNeighborhoodIter) ... ok
test_simple2d (test_multiarray.TestNeighborhoodIter) ... ok
test_simple2d_object (test_multiarray.TestNeighborhoodIter) ... ok
test_simple_float (test_multiarray.TestNeighborhoodIter) ... ok
test_simple_object (test_multiarray.TestNeighborhoodIter) ... ok
test_multiarray.TestNewBufferProtocol.test_export_discontiguous ... ok
test_multiarray.TestNewBufferProtocol.test_export_endian ... ok
test_multiarray.TestNewBufferProtocol.test_export_record ... ok
test_multiarray.TestNewBufferProtocol.test_export_simple_1d ... ok
test_multiarray.TestNewBufferProtocol.test_export_simple_nd ... ok
test_multiarray.TestNewBufferProtocol.test_export_subarray ... ok
test_multiarray.TestNewBufferProtocol.test_padding ... ok
test_multiarray.TestNewBufferProtocol.test_reference_leak ... ok
test_multiarray.TestNewBufferProtocol.test_roundtrip ... ok
test_basic (test_multiarray.TestNewaxis) ... ok
test_multiarray.TestPEP3118Dtype.test_byteorder_inside_struct ... ok
test_multiarray.TestPEP3118Dtype.test_intra_padding ... ok
test_multiarray.TestPEP3118Dtype.test_native_padding ... ok
test_multiarray.TestPEP3118Dtype.test_native_padding_2 ... ok
test_multiarray.TestPEP3118Dtype.test_trailing_padding ... ok
test_roundtrip (test_multiarray.TestPickling) ... ok
test_version0_float32 (test_multiarray.TestPickling) ... ok
test_version0_int8 (test_multiarray.TestPickling) ... ok
test_version0_object (test_multiarray.TestPickling) ... ok
test_version1_float32 (test_multiarray.TestPickling) ... ok
test_version1_int8 (test_multiarray.TestPickling) ... ok
test_version1_object (test_multiarray.TestPickling) ... ok
test_ip_byteorder (test_multiarray.TestPutmask) ... ok
test_ip_types (test_multiarray.TestPutmask) ... ok
test_mask_size (test_multiarray.TestPutmask) ... ok
test_masked_array (test_multiarray.TestPutmask) ... ok
test_record_array (test_multiarray.TestPutmask) ... ok
test_bytes_fields (test_multiarray.TestRecord) ... ok
test_field_rename (test_multiarray.TestRecord) ... ok
test_basic (test_multiarray.TestResize) ... ok
test_check_reference (test_multiarray.TestResize) ... ok
test_freeform_shape (test_multiarray.TestResize) ... ok
test_int_shape (test_multiarray.TestResize) ... ok
test_invalid_arguements (test_multiarray.TestResize) ... ok
test_none_shape (test_multiarray.TestResize) ... ok
test_zeros_appended (test_multiarray.TestResize) ... ok
test_ellipsis_subscript (test_multiarray.TestScalarIndexing) ... ok
test_empty_subscript (test_multiarray.TestScalarIndexing) ... ok
test_invalid_newaxis (test_multiarray.TestScalarIndexing) ... ok
test_invalid_subscript (test_multiarray.TestScalarIndexing) ... ok
test_invalid_subscript_assignment (test_multiarray.TestScalarIndexing) ... ok
test_newaxis (test_multiarray.TestScalarIndexing) ... ok
test_simple_circular (test_multiarray.TestStackedNeighborhoodIter) ... ok
test_simple_const (test_multiarray.TestStackedNeighborhoodIter) ... ok
test_simple_mirror (test_multiarray.TestStackedNeighborhoodIter) ... ok
test_simple_strict_within (test_multiarray.TestStackedNeighborhoodIter) ... ok
test_subclass (test_multiarray.TestStats) ... ok
test_mixed (test_multiarray.TestStringCompare) ... ok
test_string (test_multiarray.TestStringCompare) ... ok
test_unicode (test_multiarray.TestStringCompare) ... ok
test_test_zero_rank (test_multiarray.TestSubscripting) ... ok
test_1d (test_multiarray.TestSummarization) ... ok
test_2d (test_multiarray.TestSummarization) ... ok
test_clip (test_multiarray.TestTake) ... ok
test_ip_byteorder (test_multiarray.TestTake) ... ok
test_ip_types (test_multiarray.TestTake) ... ok
test_raise (test_multiarray.TestTake) ... ok
test_record_array (test_multiarray.TestTake) ... ok
test_wrap (test_multiarray.TestTake) ... ok
test_basic (test_multiarray.TestView) ... ok
test_multiarray.TestWarnings.test_complex_warning ... ok
test_constructor (test_multiarray.TestZeroRank) ... ok
test_ellipsis_subscript (test_multiarray.TestZeroRank) ... ok
test_ellipsis_subscript_assignment (test_multiarray.TestZeroRank) ... ok
test_empty_subscript (test_multiarray.TestZeroRank) ... ok
test_empty_subscript_assignment (test_multiarray.TestZeroRank) ... ok
test_invalid_newaxis (test_multiarray.TestZeroRank) ... ok
test_invalid_subscript (test_multiarray.TestZeroRank) ... ok
test_invalid_subscript_assignment (test_multiarray.TestZeroRank) ... ok
test_newaxis (test_multiarray.TestZeroRank) ... ok
test_output (test_multiarray.TestZeroRank) ... ok
test_numeric.TestArgwhere.test_2D ... ok
test_numeric.TestArgwhere.test_list ... ok
test_array_equal (test_numeric.TestArrayComparisons) ... ok
test_array_equiv (test_numeric.TestArrayComparisons) ... ok
test_base3 (test_numeric.TestBaseRepr) ... ok
test_negative (test_numeric.TestBaseRepr) ... ok
test_positive (test_numeric.TestBaseRepr) ... ok
test_large (test_numeric.TestBinaryRepr) ... ok
test_negative (test_numeric.TestBinaryRepr) ... ok
test_zero (test_numeric.TestBinaryRepr) ... ok
test_bitwise_and (test_numeric.TestBoolScalar) ... ok
test_bitwise_or (test_numeric.TestBoolScalar) ... ok
test_bitwise_xor (test_numeric.TestBoolScalar) ... ok
test_logical (test_numeric.TestBoolScalar) ... ok
test_array_double (test_numeric.TestClip)
Test native double input with array min/max. ... ok
test_clip_func_takes_out (test_numeric.TestClip)
Ensure that the clip() function takes an out= argument. ... ok
test_clip_inplace_array (test_numeric.TestClip)
Test native double input with array min/max ... ok
test_clip_inplace_simple (test_numeric.TestClip)
Test native double input with scalar min/max ... ok
test_clip_non_contig (test_numeric.TestClip)
Test clip for non contiguous native input and native scalar min/max. ... ok
test_clip_with_out_array_int32 (test_numeric.TestClip)
Test native int32 input with double array min/max and int32 out ... ok
test_clip_with_out_array_outint32 (test_numeric.TestClip)
Test native double input with scalar min/max and int out ... ok
test_clip_with_out_simple (test_numeric.TestClip)
Test native double input with scalar min/max ... ok
test_clip_with_out_simple2 (test_numeric.TestClip)
Test native int32 input with double min/max and int32 out ... ok
test_clip_with_out_simple_int32 (test_numeric.TestClip)
Test native int32 input with int32 scalar min/max and int64 out ... ok
test_noncontig_inplace (test_numeric.TestClip)
Test non contiguous double input with double scalar min/max in-place. ... ok
test_simple_complex (test_numeric.TestClip)
Test native complex input with native double scalar min/max. ... ok
test_simple_double (test_numeric.TestClip)
Test native double input with scalar min/max. ... ok
test_simple_inplace_01 (test_numeric.TestClip)
Test native double input with array min/max in-place. ... ok
test_simple_inplace_02 (test_numeric.TestClip)
Test native double input with scalar min/max in-place. ... ok
test_simple_int (test_numeric.TestClip)
Test native int input with scalar min/max. ... ok
test_simple_int32_inout (test_numeric.TestClip)
Test native int32 input with double min/max and int32 out. ... ok
test_simple_int32_out (test_numeric.TestClip)
Test native double input with scalar min/max and int out. ... ok
test_simple_int64_inout (test_numeric.TestClip)
Test native in32 input with double array min/max and int32 out. ... ok
test_simple_int64_out (test_numeric.TestClip)
Test native int32 input with int32 scalar min/max and int64 out. ... ok
test_simple_nonnative (test_numeric.TestClip)
Test non native double input with scalar min/max. ... ok
test_simple_out (test_numeric.TestClip)
Test native double input with scalar min/max. ... ok
test_type_cast_01 (test_numeric.TestClip)
Test native double input with scalar min/max. ... ok
test_type_cast_02 (test_numeric.TestClip)
Test native int32 input with int32 scalar min/max. ... ok
test_type_cast_03 (test_numeric.TestClip)
Test native int32 input with float64 scalar min/max. ... ok
test_type_cast_04 (test_numeric.TestClip)
Test native int32 input with float32 scalar min/max. ... ok
test_type_cast_05 (test_numeric.TestClip)
Test native int32 with double arrays min/max. ... ok
test_type_cast_06 (test_numeric.TestClip)
Test native with NON native scalar min/max. ... ok
test_type_cast_07 (test_numeric.TestClip)
Test NON native with native array min/max. ... ok
test_type_cast_08 (test_numeric.TestClip)
Test NON native with native scalar min/max. ... ok
test_type_cast_09 (test_numeric.TestClip)
Test native with NON native array min/max. ... ok
test_type_cast_10 (test_numeric.TestClip)
Test native int32 with float min/max and float out for output argument. ... ok
test_type_cast_11 (test_numeric.TestClip)
Test non native with native scalar, min/max, out non native ... ok
test_type_cast_12 (test_numeric.TestClip)
Test native int32 input and min/max and float out ... ok
test_complex (test_numeric.TestCorrelate) ... ok
test_float (test_numeric.TestCorrelate) ... ok
test_object (test_numeric.TestCorrelate) ... ok
test_complex (test_numeric.TestCorrelateNew) ... ok
test_float (test_numeric.TestCorrelateNew) ... ok
test_object (test_numeric.TestCorrelateNew) ... ok
test_all (test_numeric.TestDot) ... ok
test_columnvect1 (test_numeric.TestDot) ... ok
test_columnvect2 (test_numeric.TestDot) ... ok
test_matmat (test_numeric.TestDot) ... ok
test_matvec (test_numeric.TestDot) ... ok
test_matvec2 (test_numeric.TestDot) ... ok
test_vecmat (test_numeric.TestDot) ... ok
test_vecmat2 (test_numeric.TestDot) ... ok
test_vecmat3 (test_numeric.TestDot) ... ok
test_vecobject (test_numeric.TestDot) ... ok
test_vecscalar (test_numeric.TestDot) ... ok
test_vecscalar2 (test_numeric.TestDot) ... ok
test_vecvecinner (test_numeric.TestDot) ... ok
test_vecvecouter (test_numeric.TestDot) ... ok
test_lengths (test_numeric.TestFromiter) ... ok
test_types (test_numeric.TestFromiter) ... ok
test_values (test_numeric.TestFromiter) ... ok
test_boolean (test_numeric.TestIndex) ... ok
test_empty_like (test_numeric.TestLikeFuncs) ... ok
test_zeros_like (test_numeric.TestLikeFuncs) ... ok
test_cumproduct (test_numeric.TestNonarrayArgs) ... ok
test_mean (test_numeric.TestNonarrayArgs) ... ok
test_size (test_numeric.TestNonarrayArgs) ... ok
test_squeeze (test_numeric.TestNonarrayArgs) ... ok
test_std (test_numeric.TestNonarrayArgs) ... ok
test_var (test_numeric.TestNonarrayArgs) ... ok
test_copies (test_numeric.TestResize) ... ok
test_zeroresize (test_numeric.TestResize) ... ok
test_divide_err (test_numeric.TestSeterr) ... ok
test_set (test_numeric.TestSeterr) ... ok
test_basic (test_numeric.TestStdVar) ... ok
test_ddof1 (test_numeric.TestStdVar) ... ok
test_ddof2 (test_numeric.TestStdVar) ... ok
test_basic (test_numeric.TestStdVarComplex) ... ok
test_numeric.TestStringFunction.test_set_string_function ... ok
test_ip_allclose (test_numeric.test_allclose_inf)
Parametric test factory. ... ok
test_ip_not_allclose (test_numeric.test_allclose_inf)
Parametric test factory. ... ok
test_no_parameter_modification (test_numeric.test_allclose_inf) ... Warning: invalid value encountered in isinf
Warning: invalid value encountered in isinf
ok
test_scalar_loses1 (test_numerictypes.TestCommonType) ... ok
test_scalar_loses2 (test_numerictypes.TestCommonType) ... ok
test_scalar_wins (test_numerictypes.TestCommonType) ... ok
test_scalar_wins2 (test_numerictypes.TestCommonType) ... ok
test_scalar_wins3 (test_numerictypes.TestCommonType) ... ok
test_assign (test_numerictypes.TestEmptyField) ... ok
test_no_tuple (test_numerictypes.TestMultipleFields) ... ok
test_return (test_numerictypes.TestMultipleFields) ... ok
test_list_of_list_of_tuple (test_numerictypes.test_create_values_nested_multiple)
Check creation from list of list of tuples ... ok
test_list_of_tuple (test_numerictypes.test_create_values_nested_multiple)
Check creation from list of tuples ... ok
test_tuple (test_numerictypes.test_create_values_nested_multiple)
Check creation from tuples ... ok
test_list_of_list_of_tuple (test_numerictypes.test_create_values_nested_single)
Check creation from list of list of tuples ... ok
test_list_of_tuple (test_numerictypes.test_create_values_nested_single)
Check creation from list of tuples ... ok
test_tuple (test_numerictypes.test_create_values_nested_single)
Check creation from tuples ... ok
test_list_of_list_of_tuple (test_numerictypes.test_create_values_plain_multiple)
Check creation from list of list of tuples ... ok
test_list_of_tuple (test_numerictypes.test_create_values_plain_multiple)
Check creation from list of tuples ... ok
test_tuple (test_numerictypes.test_create_values_plain_multiple)
Check creation from tuples ... ok
test_list_of_list_of_tuple (test_numerictypes.test_create_values_plain_single)
Check creation from list of list of tuples ... ok
test_list_of_tuple (test_numerictypes.test_create_values_plain_single)
Check creation from list of tuples ... ok
test_tuple (test_numerictypes.test_create_values_plain_single)
Check creation from tuples ... ok
test_zeros0D (test_numerictypes.test_create_zeros_nested)
Check creation of 0-dimensional objects ... ok
test_zerosMD (test_numerictypes.test_create_zeros_nested)
Check creation of multi-dimensional objects ... ok
test_zerosSD (test_numerictypes.test_create_zeros_nested)
Check creation of single-dimensional objects ... ok
test_zeros0D (test_numerictypes.test_create_zeros_plain)
Check creation of 0-dimensional objects ... ok
test_zerosMD (test_numerictypes.test_create_zeros_plain)
Check creation of multi-dimensional objects ... ok
test_zerosSD (test_numerictypes.test_create_zeros_plain)
Check creation of single-dimensional objects ... ok
test_access_top_fields (test_numerictypes.test_read_values_nested_multiple)
Check reading the top fields of a nested array ... ok
test_nested1_acessors (test_numerictypes.test_read_values_nested_multiple)
Check reading the nested fields of a nested array (1st level) ... ok
test_nested1_descriptor (test_numerictypes.test_read_values_nested_multiple)
Check access nested descriptors of a nested array (1st level) ... ok
test_nested2_acessors (test_numerictypes.test_read_values_nested_multiple)
Check reading the nested fields of a nested array (2nd level) ... ok
test_nested2_descriptor (test_numerictypes.test_read_values_nested_multiple)
Check access nested descriptors of a nested array (2nd level) ... ok
test_access_top_fields (test_numerictypes.test_read_values_nested_single)
Check reading the top fields of a nested array ... ok
test_nested1_acessors (test_numerictypes.test_read_values_nested_single)
Check reading the nested fields of a nested array (1st level) ... ok
test_nested1_descriptor (test_numerictypes.test_read_values_nested_single)
Check access nested descriptors of a nested array (1st level) ... ok
test_nested2_acessors (test_numerictypes.test_read_values_nested_single)
Check reading the nested fields of a nested array (2nd level) ... ok
test_nested2_descriptor (test_numerictypes.test_read_values_nested_single)
Check access nested descriptors of a nested array (2nd level) ... ok
test_access_fields (test_numerictypes.test_read_values_plain_multiple) ... ok
test_access_fields (test_numerictypes.test_read_values_plain_single) ... ok
Check formatting. ... ok
Check formatting. ... ok
Check formatting. ... ok
Check formatting of nan & inf. ... ok
Check formatting of nan & inf. ... ok
Check formatting of nan & inf. ... ok
Check formatting of complex types. ... ok
Check formatting of complex types. ... ok
Check formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check inf/nan formatting of complex types. ... ok
Check formatting when using print ... ok
Check formatting when using print ... ok
Check formatting when using print ... ok
Check formatting when using print ... ok
Check formatting when using print ... ok
Check formatting when using print ... ok
test_print.test_locale_single ... SKIP: Skipping locale test, because French locale not found
test_print.test_locale_double ... SKIP: Skipping locale test, because French locale not found
test_print.test_locale_longdouble ... SKIP: Skipping locale test, because French locale not found
test_fromrecords (test_records.TestFromrecords) ... ok
test_fromrecords_with_explicit_dtype (test_records.TestFromrecords) ... ok
test_method_array (test_records.TestFromrecords) ... ok
test_method_array2 (test_records.TestFromrecords) ... ok
test_recarray_conflict_fields (test_records.TestFromrecords) ... ok
test_recarray_from_names (test_records.TestFromrecords) ... ok
test_recarray_from_obj (test_records.TestFromrecords) ... ok
test_recarray_from_repr (test_records.TestFromrecords) ... ok
test_recarray_fromarrays (test_records.TestFromrecords) ... ok
test_recarray_fromfile (test_records.TestFromrecords) ... ok
test_recarray_slices (test_records.TestFromrecords) ... ok
test_assignment1 (test_records.TestRecord) ... ok
test_assignment2 (test_records.TestRecord) ... ok
test_invalid_assignment (test_records.TestRecord) ... ok
test_out_of_order_fields (test_records.TestRecord)
Ticket #1431. Current behavior deprecated in numpy 1.5 ... ok
test_records.test_find_duplicate ... ok
test_0d_string_scalar (test_regression.TestRegression) ... ok
test_add_identity (test_regression.TestRegression)
Ticket #143 ... ok
test_arange_endian (test_regression.TestRegression)
Ticket #111 ... ok
test_arange_non_native_dtype (test_regression.TestRegression)
Ticket #616 ... ok
test_argmax (test_regression.TestRegression)
Ticket #119 ... ok
test_argmax_byteorder (test_regression.TestRegression)
Ticket #546 ... ok
test_arr_transpose (test_regression.TestRegression)
Ticket #516 ... ok
test_array_from_sequence_scalar_array (test_regression.TestRegression)
Ticket #1078: segfaults when creating an array with a sequence of 0d ... ok
test_array_from_sequence_scalar_array2 (test_regression.TestRegression)
Ticket #1081: weird array with strange input... ... KNOWNFAIL: Fix this for 1.5.0.
test_array_index (test_regression.TestRegression)
Make sure optimization is not called in this case. ... ok
test_array_ndmin_overflow (test_regression.TestRegression)
Ticket #947. ... ok
test_array_resize_method_system_error (test_regression.TestRegression)
Ticket #840 - order should be an invalid keyword. ... ok
test_array_str_64bit (test_regression.TestRegression)
Ticket #501 ... ok
test_array_too_big (test_regression.TestRegression)
Ticket #1080. ... ok
test_astype_copy (test_regression.TestRegression)
Ticket #788, changeset r5155 ... ok
test_attributes (test_regression.TestRegression)
Ticket #791 ... ok
test_binary_repr_0 (test_regression.TestRegression)
Ticket #151 ... ok
test_binary_repr_0_width (test_regression.TestRegression) ... ok
test_blasdot_uninitialized_memory (test_regression.TestRegression)
Ticket #950 ... ok
test_bool (test_regression.TestRegression)
Ticket #60 ... ok
test_bool_indexing_invalid_nr_elements (test_regression.TestRegression) ... ok
test_broadcast_flat_assignment (test_regression.TestRegression)
Ticket #194 ... ok
test_buffer_hashlib (test_regression.TestRegression) ... ok
test_byteswap_complex_scalar (test_regression.TestRegression)
Ticket #1259 ... ok
test_char_array_creation (test_regression.TestRegression) ... ok
test_char_dump (test_regression.TestRegression)
Ticket #50 ... ok
test_character_array_strip (test_regression.TestRegression)
Ticket #246 ... ok
test_chararray_rstrip (test_regression.TestRegression)
Ticket #222 ... ok
test_complex_dtype_printing (test_regression.TestRegression) ... ok
test_complex_nan_maximum (test_regression.TestRegression) ... ok
test_complex_scalar_complex_cast (test_regression.TestRegression) ... ok
test_complex_scalar_warning (test_regression.TestRegression) ... ok
test_compress_small_type (test_regression.TestRegression)
Ticket #789, changeset 5217. ... ok
test_convolve_empty (test_regression.TestRegression)
Convolve should raise an error for empty input array. ... ok
test_copy_detection_corner_case (test_regression.TestRegression)
Ticket #658 ... ok
test_copy_detection_corner_case2 (test_regression.TestRegression)
Ticket #771: strides are not set correctly when reshaping 0-sized ... ok
test_copy_detection_zero_dim (test_regression.TestRegression)
Ticket #658 ... ok
test_dot_alignment_sse2 (test_regression.TestRegression)
Test for ticket #1149, changeset r5140 ... ok
test_dot_negative_stride (test_regression.TestRegression)
Ticket #588 ... ok
test_dtype_keyerrors
(test_regression.TestRegression)
Ticket #1106. ... ok
test_dtype_names (test_regression.TestRegression)
Ticket #35 ... ok
test_dtype_posttuple (test_regression.TestRegression)
Ticket #335 ... ok
test_dtype_repr (test_regression.TestRegression)
Ticket #344 ... ok
test_dtype_tuple (test_regression.TestRegression)
Ticket #334 ... ok
test_duplicate_field_names_assign (test_regression.TestRegression) ... ok
test_duplicate_title_and_name (test_regression.TestRegression)
Ticket #1254 ... ok
test_empty_array_type (test_regression.TestRegression) ... ok
test_endian_bool_indexing (test_regression.TestRegression)
Ticket #105 ... ok
test_eq_string_and_object_array (test_regression.TestRegression) ... ok
test_errobj_reference_leak (test_regression.TestRegression)
Ticket #955 ... ok
test_fancy_index (test_regression.TestRegression)
Ticket #302 ... ok
test_flat_assignment (test_regression.TestRegression)
Correct behaviour of ticket #792 ... ok
test_flat_byteorder (test_regression.TestRegression)
Ticket #657 ... ok
test_flat_index_byteswap (test_regression.TestRegression) ... ok
test_floats_from_string (test_regression.TestRegression)
Ticket #640, floats from string ... ok
test_for_equal_names (test_regression.TestRegression)
Ticket #674 ... ok
test_for_object_scalar_creation (test_regression.TestRegression)
Ticket #816 ... ok
test_for_zero_length_in_choose (test_regression.TestRegression)
Ticket #882 ... ok
test_fromfile_tofile_seeks (test_regression.TestRegression) ... ok
test_fromiter_bytes (test_regression.TestRegression)
Ticket #1058 ... ok
test_fromiter_comparison (test_regression.TestRegression) ... ok
test_frompyfunc_endian (test_regression.TestRegression)
Ticket #503 ... ok
test_fromstring (test_regression.TestRegression) ... ok
test_fromstring_crash (test_regression.TestRegression) ... ok
test_hstack_invalid_dims (test_regression.TestRegression)
Ticket #128 ... ok
test_huge_arange (test_regression.TestRegression)
Regression test for #1660. ... ok
test_indexing1 (test_regression.TestRegression)
Ticket #64 ... ok
test_indexing2 (test_regression.TestRegression)
Ticket #65 ... ok
test_intp (test_regression.TestRegression)
Ticket #99 ... KNOWNFAIL: numpy.intp('0xff', 16) not supported on Py3, as it does not inherit from Python int
test_invalid_round (test_regression.TestRegression)
Ticket #3 ... ok
test_junk_in_string_fields_of_recarray (test_regression.TestRegression)
Ticket #483 ... ok
test_lexsort (test_regression.TestRegression)
Lexsort memory error ... ok
test_lexsort_buffer_length (test_regression.TestRegression)
Ticket #1217, don't segfault. ... ok
test_log1p_compiler_shenanigans (test_regression.TestRegression) ... ok
test_mem_0d_array_index (test_regression.TestRegression)
Ticket #714 ... ok
test_mem_around (test_regression.TestRegression)
Ticket #243 ... ok
test_mem_array_creation_invalid_specification (test_regression.TestRegression)
Ticket #196 ... ok
test_mem_axis_minimization (test_regression.TestRegression)
Ticket #327 ... ok
test_mem_custom_float_to_array (test_regression.TestRegression)
Ticket 702 ... ok
test_mem_deallocation_leak (test_regression.TestRegression)
Ticket #562 ... ok
test_mem_divmod (test_regression.TestRegression)
Ticket #126 ... ok
test_mem_dot (test_regression.TestRegression)
Ticket #106 ... ok
test_mem_dtype_align (test_regression.TestRegression)
Ticket #93 ... ok
test_mem_empty (test_regression.TestRegression)
Ticket #7 ... ok
test_mem_float_imag (test_regression.TestRegression)
Ticket #330 ... ok
test_mem_fromiter_invalid_dtype_string (test_regression.TestRegression) ... ok
test_mem_lexsort_strings (test_regression.TestRegression)
Ticket #298 ... ok
test_mem_on_invalid_dtype (test_regression.TestRegression)
Ticket #583 ... ok
test_mem_scalar_indexing (test_regression.TestRegression)
Ticket #603 ... ok
test_mem_string_arr (test_regression.TestRegression)
Ticket #514 ... ok
test_method_args (test_regression.TestRegression) ... ok
test_misaligned_dot_product_objects (test_regression.TestRegression)
Ticket #1267 ... ok
test_misaligned_objects_segfault (test_regression.TestRegression)
Ticket #1198 and #1267 ... ok
test_misaligned_scalars_segfault (test_regression.TestRegression)
Ticket #1267 ... ok
test_mixed_string_unicode_array_creation (test_regression.TestRegression) ... ok
test_multidim_byteswap (test_regression.TestRegression)
Ticket #449 ... ok
test_multiple_assign (test_regression.TestRegression)
Ticket #273 ... ok
test_ndmin_float64 (test_regression.TestRegression)
Ticket #324 ... ok
test_negative_nd_indexing (test_regression.TestRegression)
Ticket #49 ... ok
test_noncommutative_reduce_accumulate (test_regression.TestRegression)
Ticket #413 ... ok
test_noncontiguous_fill (test_regression.TestRegression)
Ticket #58. ... ok
test_nonnative_endian_fill (test_regression.TestRegression)
Non-native endian arrays were incorrectly filled with scalars before ... ok
test_numeric_carray_compare (test_regression.TestRegression)
Ticket #341 ... ok
test_numeric_handleError (test_regression.TestRegression)
Ticket #1405 ... ok
test_object_argmax (test_regression.TestRegression) ... ok
test_object_array_assign (test_regression.TestRegression) ... ok
test_object_array_fill (test_regression.TestRegression)
Ticket #86 ... ok
test_object_array_from_list (test_regression.TestRegression)
Ticket #270 ... ok
test_object_array_refcount_self_assign (test_regression.TestRegression)
Ticket #711 ... ok
test_object_array_refcounting (test_regression.TestRegression)
Ticket #633 ... ok
test_object_array_shape (test_regression.TestRegression)
Ticket #239 ... ok
test_object_array_to_fixed_string (test_regression.TestRegression)
Ticket #1235. ... ok
test_object_casting (test_regression.TestRegression) ... ok
test_pickle_dtype (test_regression.TestRegression)
Ticket #251 ... ok
test_pickle_transposed (test_regression.TestRegression)
Ticket #16 ... ok
test_rand_seed (test_regression.TestRegression)
Ticket #555 ... ok
test_random_shuffle (test_regression.TestRegression)
Ticket #374 ... ok
test_rec_fromarray (test_regression.TestRegression)
Ticket #322 ... ok
test_rec_iterate (test_regression.TestRegression)
Ticket #160 ... ok
test_recarray_copy (test_regression.TestRegression)
Ticket #312 ... ok
test_recarray_fields (test_regression.TestRegression)
Ticket #372 ... ok
test_recarray_single_element (test_regression.TestRegression)
Ticket #202 ... ok
test_recarray_tolist (test_regression.TestRegression)
Ticket #793, changeset r5215 ... ok
test_reduce (test_regression.TestRegression)
Ticket #40 ... ok
test_reduce_big_object_array (test_regression.TestRegression)
Ticket #713 ... ok
test_refcount_vdot (test_regression.TestRegression)
Changeset #3443 ... ok
test_repeat_discont (test_regression.TestRegression)
Ticket #352 ... ok
test_reshape_order (test_regression.TestRegression)
Make sure reshape order works. ... ok
test_round (test_regression.TestRegression)
Ticket #67 ... ok
test_scalar_compare (test_regression.TestRegression)
Ticket #72 ... ok
test_searchsorted_variable_length (test_regression.TestRegression) ... ok
test_sign_bit (test_regression.TestRegression) ... ok
test_sign_for_complex_nan (test_regression.TestRegression)
Ticket 794. ... ok
test_signed_integer_division_overflow (test_regression.TestRegression)
Ticket #1317. ... ok
test_sort_bigendian (test_regression.TestRegression)
Ticket #47 ... ok
test_squeeze_type (test_regression.TestRegression)
Ticket #133 ... ok
test_startswith (test_regression.TestRegression) ... ok
test_string_NULL (test_regression.TestRegression)
Changeset 3557 ... ok
test_string_argsort_with_zeros (test_regression.TestRegression)
Check argsort for strings containing zeros. ... ok
test_string_array_size (test_regression.TestRegression)
Ticket #342 ... ok
test_string_mergesort (test_regression.TestRegression)
Ticket #540 ... ok
test_string_sort_with_zeros (test_regression.TestRegression)
Check sort for strings containing zeros. ... ok
test_structured_arrays_with_objects1 (test_regression.TestRegression)
Ticket #1299 ... ok
test_structured_arrays_with_objects2 (test_regression.TestRegression)
Ticket #1299 second test ... ok
test_subclass_int_tuple_assignment (test_regression.TestRegression) ... ok
test_swap_real (test_regression.TestRegression)
Ticket #265 ... ok
test_take_output (test_regression.TestRegression)
Ensure that 'take' honours output parameter. ... ok
test_take_refcount (test_regression.TestRegression) ... ok
test_ticket_1434 (test_regression.TestRegression) ... ok
test_ticket_1538 (test_regression.TestRegression) ... ok
test_ticket_1539 (test_regression.TestRegression) ... ok
test_tostring_FORTRANORDER_discontiguous (test_regression.TestRegression)
Fix in r2836 ... ok
test_typeNA (test_regression.TestRegression)
Ticket #31 ... ok
test_ufunc_no_unnecessary_views (test_regression.TestRegression) ... ok
test_uint64_from_negative (test_regression.TestRegression) ... ok
test_uint_int_conversion (test_regression.TestRegression) ... ok
test_unaligned_unicode_access (test_regression.TestRegression)
Ticket #825 ... ok
test_unicode_scalar (test_regression.TestRegression)
Ticket #600 ... ok
test_unicode_string_comparison (test_regression.TestRegression)
Ticket #190 ... ok
test_unicode_swapping (test_regression.TestRegression)
Ticket #79 ... ok
test_unicode_to_string_cast (test_regression.TestRegression)
Ticket #1240. ... ok
test_unpickle_dtype_with_object (test_regression.TestRegression)
Implemented in r2840 ... ok
test_void_copyswap (test_regression.TestRegression) ... ok
test_void_scalar_with_titles (test_regression.TestRegression)
No ticket ... ok
test_zero_sized_array_indexing (test_regression.TestRegression)
Ticket #205 ... ok
test_zeros (test_regression.TestRegression)
Regression test for #1659. ... ok
test_zeros_order (test_regression.TestRegression)
Ticket #43 ... ok
test_int_from_long (test_scalarmath.TestConversion) ... ok
test_large_types (test_scalarmath.TestPower) ... ok
test_small_types (test_scalarmath.TestPower) ... ok
test_float_repr (test_scalarmath.TestRepr) ... ok
test_type_add (test_scalarmath.TestTypes) ... ok
test_type_create (test_scalarmath.TestTypes) ... ok
test_types (test_scalarmath.TestTypes) ... ok
test_0D_array (test_shape_base.TestAtleast1d) ... ok
test_1D_array (test_shape_base.TestAtleast1d) ... ok
test_2D_array (test_shape_base.TestAtleast1d) ... ok
test_3D_array (test_shape_base.TestAtleast1d) ... ok
test_r1array (test_shape_base.TestAtleast1d)
Test to make sure equivalent Travis O's r1array function ... ok
test_0D_array (test_shape_base.TestAtleast2d) ... ok
test_1D_array (test_shape_base.TestAtleast2d) ... ok
test_2D_array (test_shape_base.TestAtleast2d) ... ok
test_3D_array (test_shape_base.TestAtleast2d) ... ok
test_r2array (test_shape_base.TestAtleast2d)
Test to make sure equivalent Travis O's r2array function ... ok
test_0D_array (test_shape_base.TestAtleast3d) ... ok
test_1D_array (test_shape_base.TestAtleast3d) ... ok
test_2D_array (test_shape_base.TestAtleast3d) ... ok
test_3D_array (test_shape_base.TestAtleast3d) ... ok
test_0D_array (test_shape_base.TestHstack) ... ok
test_1D_array (test_shape_base.TestHstack) ... ok
test_2D_array (test_shape_base.TestHstack) ... ok
test_0D_array (test_shape_base.TestVstack) ... ok
test_1D_array (test_shape_base.TestVstack) ... ok
test_2D_array (test_shape_base.TestVstack) ... ok
test_2D_array2 (test_shape_base.TestVstack) ... ok
test_all_ufunc (test_ufunc.TestUfunc)
Try to check presence and results of all ufuncs. ... ok
test_broadcast (test_ufunc.TestUfunc) ... ok
test_endian (test_ufunc.TestUfunc) ... ok
test_generic_loops (test_ufunc.TestUfunc)
Test generic loops. ... ok
test_get_signature (test_ufunc.TestUfunc) ... ok
test_incontiguous_array (test_ufunc.TestUfunc) ... ok
test_inner1d (test_ufunc.TestUfunc) ... ok
test_innerwt (test_ufunc.TestUfunc) ... ok
test_matrix_multiply (test_ufunc.TestUfunc) ... ok
test_output_argument (test_ufunc.TestUfunc) ... ok
test_reduceat_shifting_sum (test_ufunc.TestUfunc) ... ok
test_signature (test_ufunc.TestUfunc) ... ok
test_type_cast (test_ufunc.TestUfunc) ... ok
test_any_ninf (test_umath.TestArctan2SpecialValues) ... ok
test_any_pinf (test_umath.TestArctan2SpecialValues) ... ok
test_inf_any (test_umath.TestArctan2SpecialValues) ... ok
test_inf_ninf (test_umath.TestArctan2SpecialValues) ... ok
test_inf_pinf (test_umath.TestArctan2SpecialValues) ... ok
test_nan_any (test_umath.TestArctan2SpecialValues) ... ok
test_negative_zero (test_umath.TestArctan2SpecialValues) ... ok
test_one_one (test_umath.TestArctan2SpecialValues) ... ok
test_positive_zero (test_umath.TestArctan2SpecialValues) ... ok
test_zero_negative (test_umath.TestArctan2SpecialValues) ... ok
test_zero_nzero (test_umath.TestArctan2SpecialValues) ... FAIL
test_zero_positive (test_umath.TestArctan2SpecialValues) ... ok
test_zero_pzero (test_umath.TestArctan2SpecialValues) ... FAIL
test_attributes (test_umath.TestAttributes) ... ok
test_mixed (test_umath.TestChoose) ... ok
test_umath.TestComplexFunctions.test_against_cmath ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'log'>, -0.5, 1j, 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'log2'>, -0.5, 1j, 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'log10'>, -0.5, 1j, 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'log1p'>, -1.5, 1j, 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'sqrt'>, -0.5, 1j, 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arcsin'>, [-2, 2], [1j, -1j], 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arccos'>, [-2, 2], [1j, -1j], 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arctan'>, [-2j, 2j], [1, -1], -1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arcsinh'>, [-2j, 2j], [-1, 1], -1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arccosh'>, [-1, 0.5], [1j, 1j], 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arctanh'>, [-2, 2], [1j, -1j], 1, -1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arcsin'>, [-2j, 2j], [1, 1], 1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arccos'>, [-2j, 2j], [1, 1], 1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arctan'>, [-2, 2], [1j, 1j], 1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arcsinh'>, [-2, 2, 0], [1j, 1j, 1], 1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arccosh'>, [-2j, 2j, 2], [1, 1, 1j], 1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts(<ufunc 'arctanh'>, [-2j, 2j, 0], [1, 1, 1j], 1, 1) ... ok
test_umath.TestComplexFunctions.test_branch_cuts_failing ... KNOWNFAIL: These branch cuts are known to fail
test_umath.TestComplexFunctions.test_it ... ok
test_umath.TestComplexFunctions.test_loss_of_precision(<class 'numpy.complex64'>,) ... ok
test_umath.TestComplexFunctions.test_loss_of_precision(<class 'numpy.complex128'>,) ... ok
test_umath.TestComplexFunctions.test_loss_of_precision_longcomplex ... ok
test_umath.TestComplexFunctions.test_precisions_consistent ... ok
test_degrees (test_umath.TestDegrees) ... ok
test_division_complex (test_umath.TestDivision) ... ok
test_division_int (test_umath.TestDivision) ... ok
test_floor_division_complex (test_umath.TestDivision) ... ok
test_exp_values (test_umath.TestExp) ... ok
test_exp2_values (test_umath.TestExp2) ... ok
test_expm1 (test_umath.TestExpm1) ... ok
test_floating_point (test_umath.TestFloatingPoint) ... ok
test_complex_nans (test_umath.TestFmax) ... ok
test_float_nans (test_umath.TestFmax) ... ok
test_reduce_complex (test_umath.TestFmax) ... ok
test_complex_nans (test_umath.TestFmin) ... ok
test_float_nans (test_umath.TestFmin) ... ok
test_reduce_complex (test_umath.TestFmin) ... ok
test_simple (test_umath.TestHypot) ... ok
test_nan_outputs (test_umath.TestHypotSpecialValues) ... ok
test_ldexp (test_umath.TestLdexp) ... ok
test_ldexp_overflow (test_umath.TestLdexp) ... ok
test_log_values (test_umath.TestLog) ... ok
test_log1p (test_umath.TestLog1p) ... ok
test_log2_values (test_umath.TestLog2) ... ok
test_umath.TestLogAddExp.test_inf ... ok
test_umath.TestLogAddExp.test_logaddexp_range ... ok
test_umath.TestLogAddExp.test_logaddexp_values ... ok
test_umath.TestLogAddExp.test_nan ... ok
test_umath.TestLogAddExp2.test_inf ... ok
test_umath.TestLogAddExp2.test_logaddexp2_range ... ok
test_umath.TestLogAddExp2.test_logaddexp2_values ... ok
test_umath.TestLogAddExp2.test_nan ... ok
test_complex_nans (test_umath.TestMaximum) ... ok
test_float_nans (test_umath.TestMaximum) ... ok
test_reduce_complex (test_umath.TestMaximum) ... ok
test_complex_nans (test_umath.TestMinimum) ... ok
test_float_nans (test_umath.TestMinimum) ... ok
test_reduce_complex (test_umath.TestMinimum) ... ok
test_power_complex (test_umath.TestPower) ... ok
test_power_float (test_umath.TestPower) ... ok
test_power_zero (test_umath.TestPower) ... ok
test_radians (test_umath.TestRadians) ... ok
test_sign (test_umath.TestSign) ... ok
test_array_with_context (test_umath.TestSpecialMethods) ... ok
test_default_prepare (test_umath.TestSpecialMethods) ... ok
test_failing_prepare (test_umath.TestSpecialMethods) ... ok
test_failing_wrap (test_umath.TestSpecialMethods) ... ok
test_old_wrap (test_umath.TestSpecialMethods) ... ok
test_prepare (test_umath.TestSpecialMethods) ... ok
test_priority (test_umath.TestSpecialMethods) ... ok
test_priority_with_scalar (test_umath.TestSpecialMethods) ... ok
test_wrap (test_umath.TestSpecialMethods) ... ok
test_wrap_with_iterable (test_umath.TestSpecialMethods) ... ok
test_subclass_op (test_umath.TestSubclass) ... ok
test_umath.test_copysign ... ok
test_umath.test_nextafter ... ok
test_umath.test_nextafterf ... ok
test_umath.test_nextafterl ... ok
test_umath.test_spacing ... ok
test_umath.test_spacingf ... ok
test_umath.test_spacingl ... ok
test_umath.test_spacing_gfortran ... ok
test_umath.test_nextafter_vs_spacing ... ok
Check np.nan is a positive nan. ... ok
Test bug in reduceat when structured arrays are not copied. ... ok
test_umath.test_complex_nan_comparisons ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<ufunc 'absolute'>, nan, nan, nan) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<ufunc 'absolute'>, nan, nan, nan) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<ufunc 'absolute'>, inf, nan, inf) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<ufunc 'absolute'>, -inf, nan, inf) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<function f at 0x1500c00>, nan, nan, nan) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<function f at 0x1500c00>, nan, nan, nan) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<function f at 0x1500c00>, inf, nan, inf) ... ok
test_umath_complex.TestCabs.test_cabs_inf_nan(<function f at 0x1500c00>, -inf, nan, inf) ... ok
test_umath_complex.TestCabs.test_fabs ... ok
test_umath_complex.TestCabs.test_simple ... ok
test_umath_complex.TestCarg.test_simple ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, -inf, 1, 3.141592653589793, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, -inf, -1, -3.141592653589793, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, inf, 1, 0.0, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, inf, -1, -0.0, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, 1, inf, 1.5707963267948966, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, 1, -inf, -1.5707963267948966, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, -inf, inf, 2.356194490192345, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, -inf, -inf, -2.356194490192345, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, inf, inf, 0.7853981633974483, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, inf, -inf, -0.7853981633974483, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, nan, 0, nan, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, 0, nan, nan, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, nan, inf, nan, False) ... ok
test_umath_complex.TestCarg.test_special_values(<ufunc '_arg'>, inf, nan, nan, False) ... ok
test_umath_complex.TestCarg.test_zero ... KNOWNFAIL: Complex arithmetic with signed zero is buggy on most implementation
test_umath_complex.TestCexp.test_simple(<ufunc 'exp'>, 1, 0, 2.7182818284590455, 0, False) ... ok
test_umath_complex.TestCexp.test_simple(<ufunc 'exp'>, 0, 1, 0.54030230586813977, 0.8414709848078965, False) ... ok
test_umath_complex.TestCexp.test_simple(<ufunc 'exp'>, 1, 1, 1.4686939399158854, 2.2873552871788427, False) ... ok
Failure: SkipTest (Skipping test: test_special_values
Numpy is using complex functions (e.g. sqrt) provided by yourplatform's C library. However, they do not seem to behave accordingto C99 -- so C99 tests are skipped.) ... SKIP: Skipping test: test_special_values
Numpy is using complex functions (e.g. sqrt) provided by yourplatform's C library. However, they do not seem to behave accordingto C99 -- so C99 tests are skipped.
test_umath_complex.TestCexp.test_special_values2 ... KNOWNFAIL: cexp(nan + 0I) is wrong on most implementations
test_simple (test_umath_complex.TestClog) ... ok
test_special_values (test_umath_complex.TestClog) ... FAIL
test_array (test_umath_complex.TestCpow) ... ok
test_scalar (test_umath_complex.TestCpow) ... ok
test_simple (test_umath_complex.TestCpow) ... ok
test_umath_complex.TestCsqrt.test_simple(<ufunc 'sqrt'>, 1, 0, 1, 0) ... ok
test_umath_complex.TestCsqrt.test_simple(<ufunc 'sqrt'>, 0, 1, 0.70710678118654757, 0.70710678118654757, False) ... ok
test_umath_complex.TestCsqrt.test_simple(<ufunc 'sqrt'>, -1, 0, 0, 1) ... ok
test_umath_complex.TestCsqrt.test_simple_conjugate(<function f at 0x1530390>, 1, 1, 1.09868411346781, -0.45508986056222733, False) ... ok
Failure: SkipTest (Skipping test: test_special_values
Numpy is using complex functions (e.g. sqrt) provided by yourplatform's C library. However, they do not seem to behave accordingto C99 -- so C99 tests are skipped.) ... SKIP: Skipping test: test_special_values
Numpy is using complex functions (e.g. sqrt) provided by yourplatform's C library. However, they do not seem to behave accordingto C99 -- so C99 tests are skipped.
test_values0D (test_unicode.test_assign_values_1009_ucs2)
Check assignment of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_assign_values_1009_ucs2)
Check assignment of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_assign_values_1009_ucs2)
Check assignment of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_assign_values_1009_ucs4)
Check assignment of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_assign_values_1009_ucs4)
Check assignment of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_assign_values_1009_ucs4)
Check assignment of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_assign_values_1_ucs2)
Check assignment of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_assign_values_1_ucs2)
Check assignment of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_assign_values_1_ucs2)
Check assignment of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_assign_values_1_ucs4)
Check assignment of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_assign_values_1_ucs4)
Check assignment of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_assign_values_1_ucs4)
Check assignment of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_assign_values_2_ucs2)
Check assignment of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_assign_values_2_ucs2)
Check assignment of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_assign_values_2_ucs2)
Check assignment of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_assign_values_2_ucs4)
Check assignment of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_assign_values_2_ucs4)
Check assignment of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_assign_values_2_ucs4)
Check assignment of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_byteorder_1009_ucs2)
Check byteorder of 0-dimensional objects ... ok
test_valuesMD (test_unicode.test_byteorder_1009_ucs2)
Check byteorder of multi-dimensional objects ... ok
test_valuesSD (test_unicode.test_byteorder_1009_ucs2)
Check byteorder of single-dimensional objects ... ok
test_values0D (test_unicode.test_byteorder_1009_ucs4)
Check byteorder of 0-dimensional objects ... ok
test_valuesMD (test_unicode.test_byteorder_1009_ucs4)
Check byteorder of multi-dimensional objects ... ok
test_valuesSD (test_unicode.test_byteorder_1009_ucs4)
Check byteorder of single-dimensional objects ... ok
test_values0D (test_unicode.test_byteorder_1_ucs2)
Check byteorder of 0-dimensional objects ... ok
test_valuesMD (test_unicode.test_byteorder_1_ucs2)
Check byteorder of multi-dimensional objects ... ok
test_valuesSD (test_unicode.test_byteorder_1_ucs2)
Check byteorder of single-dimensional objects ... ok
test_values0D (test_unicode.test_byteorder_1_ucs4)
Check byteorder of 0-dimensional objects ... ok
test_valuesMD (test_unicode.test_byteorder_1_ucs4)
Check byteorder of multi-dimensional objects ... ok
test_valuesSD (test_unicode.test_byteorder_1_ucs4)
Check byteorder of single-dimensional objects ... ok
test_values0D (test_unicode.test_byteorder_2_ucs2)
Check byteorder of 0-dimensional objects ... ok
test_valuesMD (test_unicode.test_byteorder_2_ucs2)
Check byteorder of multi-dimensional objects ... ok
test_valuesSD (test_unicode.test_byteorder_2_ucs2)
Check byteorder of single-dimensional objects ... ok
test_values0D (test_unicode.test_byteorder_2_ucs4)
Check byteorder of 0-dimensional objects ... ok
test_valuesMD (test_unicode.test_byteorder_2_ucs4)
Check byteorder of multi-dimensional objects ... ok
test_valuesSD (test_unicode.test_byteorder_2_ucs4)
Check byteorder of single-dimensional objects ... ok
test_values0D (test_unicode.test_create_values_1009_ucs2)
Check creation of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_create_values_1009_ucs2)
Check creation of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_create_values_1009_ucs2)
Check creation of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_create_values_1009_ucs4)
Check creation of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_create_values_1009_ucs4)
Check creation of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_create_values_1009_ucs4)
Check creation of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_create_values_1_ucs2)
Check creation of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_create_values_1_ucs2)
Check creation of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_create_values_1_ucs2)
Check creation of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_create_values_1_ucs4)
Check creation of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_create_values_1_ucs4)
Check creation of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_create_values_1_ucs4)
Check creation of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_create_values_2_ucs2)
Check creation of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_create_values_2_ucs2)
Check creation of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_create_values_2_ucs2)
Check creation of single-dimensional objects with values ... ok
test_values0D (test_unicode.test_create_values_2_ucs4)
Check creation of 0-dimensional objects with values ... ok
test_valuesMD (test_unicode.test_create_values_2_ucs4)
Check creation of multi-dimensional objects with values ... ok
test_valuesSD (test_unicode.test_create_values_2_ucs4)
Check creation of single-dimensional objects with values ... ok
test_zeros0D (test_unicode.test_create_zeros_1)
Check creation of 0-dimensional objects ... ok
test_zerosMD (test_unicode.test_create_zeros_1)
Check creation of multi-dimensional objects ... ok
test_zerosSD (test_unicode.test_create_zeros_1)
Check creation of single-dimensional objects ... ok
test_zeros0D (test_unicode.test_create_zeros_1009)
Check creation of 0-dimensional objects ... ok
test_zerosMD (test_unicode.test_create_zeros_1009)
Check creation of multi-dimensional objects ... ok
test_zerosSD (test_unicode.test_create_zeros_1009)
Check creation of single-dimensional objects ... ok
test_zeros0D (test_unicode.test_create_zeros_2)
Check creation of 0-dimensional objects ... ok
test_zerosMD (test_unicode.test_create_zeros_2)
Check creation of multi-dimensional objects ... ok
test_zerosSD (test_unicode.test_create_zeros_2)
Check creation of single-dimensional objects ... ok
test_g77_version (test_fcompiler_gnu.TestG77Versions) ... ok
test_not_g77 (test_fcompiler_gnu.TestG77Versions) ... ok
test_gfortran_version (test_fcompiler_gnu.TestGortranVersions) ... ok
test_not_gfortran (test_fcompiler_gnu.TestGortranVersions) ... ok
test_1 (test_misc_util.TestAppendpath) ... ok
test_2 (test_misc_util.TestAppendpath) ... ok
test_3 (test_misc_util.TestAppendpath) ... ok
test_gpaths (test_misc_util.TestGpaths) ... ok
test_1 (test_misc_util.TestMinrelpath) ... ok
test_simple (test_npy_pkg_config.TestLibraryInfo) ... ok
test_simple_variable (test_npy_pkg_config.TestLibraryInfo) ... ok
test_simple_cflags (test_npy_pkg_config.TestParseFlags) ... ok
test_simple_lflags (test_npy_pkg_config.TestParseFlags) ... ok
test_c_copy_in_from_23casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_c_in_from_23casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_c_in_from_23seq (test_array_from_pyobj.test_BOOL_gen) ... ok
test_c_inout_23seq (test_array_from_pyobj.test_BOOL_gen) ... ok
test_cache_hidden (test_array_from_pyobj.test_BOOL_gen) ... ok
test_f_copy_in_from_23casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_f_in_from_23casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_f_inout_23seq (test_array_from_pyobj.test_BOOL_gen) ... ok
test_hidden (test_array_from_pyobj.test_BOOL_gen) ... ok
test_in_cache_from_2casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_in_cache_from_2casttype_failure (test_array_from_pyobj.test_BOOL_gen) ... ok
test_in_copy_from_2casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_in_from_23casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_in_from_2casttype (test_array_from_pyobj.test_BOOL_gen) ... ok
test_in_from_2seq (test_array_from_pyobj.test_BOOL_gen) ... ok
test_inout_2seq (test_array_from_pyobj.test_BOOL_gen) ... Segmentation Fault (core dumped)

Thanks you very much,

Alex

@charris wrote on 2011-04-30

OK, I don't get this error. How did you install the version you are running now? Can you try the numpy 1.6 release candidate?

trac user alex_lai wrote on 2011-04-30

Hi Charris,

The installation was done by my colleage. Below is the script he provided:


#!/bin/bash
PYTHONPATH=/home/dcottr/local/lib/python3.1/site-packages/:$PYTHONPATH;
export PYTHONPATH
unset LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/opt/SUNWspro/lib:/opt/BNSgnuscientificlibCC/v1.11/lib
unset PATH

export LDFLAGS="-lCrun -lCstd"

PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sfw/bin:/usr/sbin:/usr/local/bin; export PATH
ATLAS=None; export ATLAS
BLAS=/opt/SUNWspro/lib/libsunperf.so; export BLAS
LAPACK=/opt/SUNWspro/lib/libsunmath.so; export LAPACK

python3 setup.py build --help-fcompiler
python3 setup.py build --fcompiler=sun

python3 setup.py install --prefix=/home/dcottr/local

Python 3.1.2 is a 32-bit binary:

sbtorsvr391:~ $ which python3
/usr/local/bin/python3
sbtorsvr391:~ $ file /usr/local/bin/python3
/usr/local/bin/python3: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped

Please note that both Sun Studio 11 and 12 are installed on the machine.

Thanks,

Alex

@charris wrote on 2011-04-30

This is getting beyond what I know, maybe someone with more experience with SUN systems can step in. It looks like you are using SUN fortran in combination with gcc compiled python/numpy? If so, that it likely a problem as everything needs to be built with compatible compilers.

This ticket might fare better as a discussion on the numpy mailing list, You might want to post there.

trac user alex_lai wrote on 2011-05-01

It looks likely that mixing sun fortran and gnu may have cuased the problem. We will try using gcc to compile numpy. Thanks for your comments.

Alex

@charris wrote on 2011-05-01

Let us know how things go.

@charris wrote on 2011-05-05

Seems to have been resolved.

trac user alex_lai wrote on 2011-05-16

Hi Charris,
This still remains a issue even if I've reinstalled numpy with g77:

sbtorsvr391{alelai}: python3 -c "import numpy; numpy.test()"
Running unit tests for numpy
NumPy version 1.5.1
NumPy is installed in /usr/local/lib/python3.1/site-packages/numpy
Python version 3.1.2 (r312:79147, Mar 23 2010, 02:42:06) [GCC 3.4.6]
nose version 1.0.0
..S...............................................................................................................................................S........Warning: invalid value encountered in isfinite
............................................................................................................................................................................................Warning: invalid value encountered in isinf
Warning: invalid value encountered in isinf
......................................................................................................SSS........................K...........................................................K.....................................................................................................................................................F.F....................K.............................................................................................K......................K.......................................................................................................................Segmentation Fault - core dumped

mdb core_sbtorsvr391_python3_7991_1520_1305581875_6742

Loading modules: [ libc.so.1 libavl.so.1 libuutil.so.1 ld.so.1 ]

::stack
libc.so.1strlen+0x50(fbcf5238, ffbfa448, ffbf9ab1, 0, 0, 0) libc.so.1sprintf+0x40(ffbfa468, 7fffffff, 7ffffc00, 2, 2, 1b84cc)
test_array_from_pyobj_ext.soarray_from_pyobj+0x4e0(6, 17d2028, 1, 7, fda3f0, ff13a5a0) test_array_from_pyobj_ext.sof2py_rout_wrap_call+0xbc(1, 1, 0, 17f000, fffffffe, fbd05b94)
PyCFunction_Call+0x90(fc59e0, 1809450, 1806da0, 0, 1, 1832b50)
PyEval_EvalFrameEx+0x4f10(0, ffbfa710, fd9728, 1, 16eb770, fc59e0)
PyEval_EvalCodeEx+0x874(fd9728, fe3390, 0, fd5dec, 5, 0)
function_call+0x8c(169c930, fd5de0, 0, 17f000, fffffffe, 40)
PyObject_Call+0x44(169c930, fd5de0, 0, fd5dec, 4, fda3f0)
method_call+0x8c(169c930, 1809420, 0, 18102e0, 1, 3f)
PyObject_Call+0x44(174cb98, 1809420, 0, 2ed5c, 2efe0, 174cb98)
slot_tp_init+0x7c(174cb98, 1809420, 0, 2, 1, fe06f8)
type_call+0xdc(1687580, 1809420, 0, 17f000, fffffffe, 3e)
PyObject_Call+0x44(1687580, 1809420, 0, 1809428, 17f4390, 18329d4)
PyEval_EvalFrameEx+0x37b4(0, ffbfabd8, 169a0b0, 1, 1697510, 1687580)
PyEval_EvalFrameEx+0x5c98(0, ffbfacd8, fe2bf0, 1, fef110, 169a228)
PyEval_EvalFrameEx+0x5c98(0, ffbfadd8, 52b2a8, 1, 57c898, 169cb28)
PyEval_EvalCodeEx+0x874(52b2a8, 532300, 0, 17ba744, 2, 1ad03c)
...

Below is the steps I followed to reinstall numpy:

sbtorsvr391{alelai}: PATH=/usr/local/ssl/bin:/usr/local/bin:/usr/sfw/bin/:/usr/sbin:/usr/bin; export PATH
sbtorsvr391{alelai}: PATH=$PATH:/apps/gnu/bin; export PATH
sbtorsvr391{alelai}: gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sbtorsvr391{alelai}: which gcc
/usr/sfw/bin//gcc

btorsvr391{alelai}: which g77
/apps/gnu/bin/g77
sbtorsvr391{alelai}: g77 --version
GNU Fortran 0.5.25 19991024 (release)
Copyright (C) 1997 Free Software Foundation, Inc.
For more version information on components of the GNU Fortran
compilation system, especially useful when reporting bugs,
type the command `g77 --verbose'.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
sbtorsvr391{alelai}: python3
Python 3.1.2 (r312:79147, Mar 23 2010, 02:42:06)
[GCC 3.4.6] on sunos5
Type "help", "copyright", "credits" or "license" for more information.

sbtorsvr391{alelai}: which python3
/usr/local/bin/python3

cd /var/tmp/python_pkgs

PATH=$PATH:/apps/gnu/bin; export PATH

cp /home/dcottr/local/archive/numpy-1.5.1.tar.gz .

gunzip -c numpy-1.5.1.tar.gz |tar -xf -

cd numpy-1.5.1

python3 setup.py build --fcompiler=gnu

...
...
running scons
running build_scripts
creating build/scripts.solaris-2.10-sun4u-3.1
Creating build/scripts.solaris-2.10-sun4u-3.1/f2py3
adding 'build/scripts.solaris-2.10-sun4u-3.1/f2py3' to scripts
changing mode of build/scripts.solaris-2.10-sun4u-3.1/f2py3 from 644 to 755

python3 setup.py install

...
copying numpy/polynomial/tests/test_polyutils.py.bak -> /usr/local/lib/python3.1/site-packages/numpy/polynomial/tests/
copying numpy/polynomial/tests/test_polyutils.py -> /usr/local/lib/python3.1/site-packages/numpy/polynomial/tests/
copying numpy/polynomial/tests/test_polynomial.py.bak -> /usr/local/lib/python3.1/site-packages/numpy/polynomial/tests/
copying numpy/polynomial/tests/test_polynomial.py -> /usr/local/lib/python3.1/site-packages/numpy/polynomial/tests/
copying numpy/polynomial/tests/test_chebyshev.py -> /usr/local/lib/python3.1/site-packages/numpy/polynomial/tests/
copying numpy/polynomial/tests/test_chebyshev.py.bak -> /usr/local/lib/python3.1/site-packages/numpy/polynomial/tests/
copying numpy/distutils/tests/f2py_f90_ext/src/foo_free.f90 -> /usr/local/lib/python3.1/site-packages/numpy/distutils/tests/f2py_f90_ext/src
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/include/numpy/_numpyconfig.h -> /usr/local/lib/python3.1/site-packages/numpy/core/include/numpy
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/include/numpy/__multiarray_api.h -> /usr/local/lib/python3.1/site-packages/numpy/core/include/numpy
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/include/numpy/multiarray_api.txt -> /usr/local/lib/python3.1/site-packages/numpy/core/include/numpy
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/include/numpy/__ufunc_api.h -> /usr/local/lib/python3.1/site-packages/numpy/core/include/numpy
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/include/numpy/ufunc_api.txt -> /usr/local/lib/python3.1/site-packages/numpy/core/include/numpy
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/lib/npy-pkg-config/npymath.ini -> /usr/local/lib/python3.1/site-packages/numpy/core/lib/npy-pkg-config
copying build/src.solaris-2.10-sun4u-3.1/numpy/core/lib/npy-pkg-config/mlib.ini -> /usr/local/lib/python3.1/site-packages/numpy/core/lib/npy-pkg-config
running install_egg_info
Removing /usr/local/lib/python3.1/site-packages/numpy-1.5.1-py3.1.egg-info
Writing /usr/local/lib/python3.1/site-packages/numpy-1.5.1-py3.1.egg-info
running install_clib
copying build/temp.solaris-2.10-sun4u-3.1/libnpymath.a -> /usr/local/lib/python3.1/site-packages/numpy/core/lib

Thnanks,

Alex

Owner

charris commented Feb 16, 2014

Way old. @matthew-brett Ever see something like this?

Contributor

matthew-brett commented Feb 17, 2014

Not until I tested it just now :( I'm not sure it's the same problem, but there's still a segmentation fault during testing.

On standard Debian squeeze system (uname -a):

Linux vagus 2.6.32-5-sparc64-smp #1 SMP Tue Sep 24 00:00:54 UTC 2013 sparc64 GNU/Linux

$ gcc --version
gcc (Debian 4.4.5-8) 4.4.5

For the above, running:

./runtests.py -t numpy/f2py/tests/test_array_from_pyobj.py --verbose

is OK. However:

./runtests.py -t numpy/lib/tests/test_recfunctions.py:TestRecFunctions --verbose

gives:

Building, see build.log...
Build OK
Running unit tests for numpy
NumPy version 1.9.0.dev-297f54b
NumPy is installed in /home/matthew/dev_trees/numpy/build/testenv/lib/python2.6/site-packages/numpy
Python version 2.6.6 (r266:84292, Dec 26 2010, 23:29:26) [GCC 4.4.5 20100913 (prerelease)]
nose version 1.3.0
test_drop_fields (test_recfunctions.TestRecFunctions) ... ok
test_find_duplicates (test_recfunctions.TestRecFunctions) ... Bus error

So - maybe a different error.

Owner

charris commented Feb 17, 2014

That does look like a different problem. If you can reproduce it easily, please open an issue.

Hmm, PyString_AsString(PyObject_Str(PyObject_Type(obj))) is pretty clearly wrong after PyString_AsString is aliased to PyBytes_AsString in the header. Let me try fixing that.

Contributor

matthew-brett commented Feb 17, 2014

New issue for rec functions bus error at #4314

@charris charris added a commit to charris/numpy that referenced this issue Feb 17, 2014

@charris charris BUG: #2408, Fix f2py Python 3 error message string bug.
The original was generating an exception message and, after aliasing,
calling PyBytes_AsString on a unicode string -> error. It was also
leaking references, although that probably didn't matter in context.

The fix here is on the cheap side, just use a C string for the message
without including the extra information about the erroneous type that
led to the exception.

No test, I don't know how to evoke this error.

Closes #2408.
1b83d85
Contributor

matthew-brett commented Feb 18, 2014

Running:

python3 ./runtests.py -t numpy/f2py/tests/test_array_from_pyobj.py --verbose

in a Debian sid chroot does not reproduce the error either (Python 3.3).

charris closed this in #4315 Feb 20, 2014

@charris charris added a commit that referenced this issue Feb 20, 2014

@charris charris Merge pull request #4315 from charris/fix-gh-2408
BUG: #2408, Fix f2py Python 3 error message string bug.
34d7bee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment