failure during test script
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(
File "./test.py", line 57, in testequal
fail("as %s != %s" % (value, nvalue))
File "./test.py", line 48, in fail
traceback.
FAIL: as ['mystring\
'\xc3' '\x85' '\xc3' '\x84' '\xc3' '\x96']]]]
File "./test.py", line 187, in <module>
testequal(
File "./test.py", line 57, in testequal
fail("as %s != %s" % (value, nvalue))
File "./test.py", line 48, in fail
traceback.
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.
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:
Can you help with this problem?
Provide an answer of your own, or ask Aurisch for more information if necessary.