failure during test script

Asked by Aurisch

Hello,

running the test script produces the failures below. What is missing within my installation.

Regards,
Thorsten

/test.py
No messages indicates test pass.
FAIL: as ['mystring'] != [[[['m' 'y' 's' 't' 'r' 'i' 'n' 'g']]]]
  File "./test.py", line 186, in <module>
    testequal(["mystring"])
  File "./test.py", line 57, in testequal
    fail("as %s != %s" % (value, nvalue))
  File "./test.py", line 48, in fail
    traceback.print_stack()

FAIL: as ['mystring\xc3\xa5\xc3\xa4\xc3\xb6\xc3\x85\xc3\x84\xc3\x96'] != [[ [['m' 'y' 's' 't' 'r' 'i' 'n' 'g' '\xc3' '\xa5' '\xc3' '\xa4' '\xc3' '\xb6'
  '\xc3' '\x85' '\xc3' '\x84' '\xc3' '\x96']]]]
  File "./test.py", line 187, in <module>
    testequal(["mystringåäöÅÄÖ"])
  File "./test.py", line 57, in testequal
    fail("as %s != %s" % (value, nvalue))
  File "./test.py", line 48, in fail
    traceback.print_stack()

Traceback (most recent call last):
  File "./test.py", line 237, in <module>
    {"x": objarray([[1,3]]), "y": objarray([[2,4]])})
  File "./test.py", line 64, in testexpect
    if not equals(value, nvalue):
  File "./test.py", line 44, in equals
    return Numeric.alltrue(Numeric.ravel(a == b))
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Question information

Language:
English Edit question
Status:
Answered
For:
Pytave Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Grundberg (individ) said :
#1

There are three known errors in the test suite.

Their relevance can be questioned so I've just ignored them. I've even documented them in the INSTALL file.

Cheers,
Grundberg

Can you help with this problem?

Provide an answer of your own, or ask Aurisch for more information if necessary.

To post a message you must log in.