[Python-Dev] test_array failure on AIX

Vladimir Marangozov Vladimir.Marangozov@inrialpes.fr
Sat, 1 Jul 2000 02:13:37 +0200 (CEST)


Any advice as to where I should look at and/or how to try fixing this?


~/python/CVS> ./python Lib/test/test_array.py
****************************************
array after append:  array('c', 'c')
char array with 10 bytes of TESTFN appended:  array('c', 'cThe quick ')
char array with list appended:  array('c', 'cThe quick abc')
array of c after inserting another: array('c', 'ccThe quick abc')
array of c converted to a list:  ['c', 'c', 'T', 'h', 'e', ' ', 'q', 'u', 'i', 'c', 'k', ' ', 'a', 'b', 'c']
array of c converted to a string:  'ccThe quick abc'
****************************************
array after append:  array('b', [1])
array of b after inserting another: array('b', [1, 1])
array of b converted to a list:  [1, 1]
array of b converted to a string:  '\001\001'
overflow test: array('b', [-128L])
Traceback (most recent call last):
  File "Lib/test/test_array.py", line 137, in ?
    main()
  File "Lib/test/test_array.py", line 13, in main
    testtype(type, 1)
  File "Lib/test/test_array.py", line 132, in testtype
    testoverflow(type, signedLowerLimit, signedUpperLimit)
  File "Lib/test/test_array.py", line 25, in testoverflow
    raise TestFailed, "array(%s) overflowed assigning %s" %\
test_support -- test failed: array('b') overflowed assigning -128L

-- 
       Vladimir MARANGOZOV          | Vladimir.Marangozov@inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252