os:5300-10-01-0921
when using --disable-ext , 1 test fail :
# python setup.py test --disable-ext
======================================================================
FAIL: test_write_infinites (pyamf.tests.test_util.DataTypeMixInTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/source/python/PyAMF-0.5/pyamf/tests/test_util.py", line 493, in test_write_infinites
'\x00\x00\x00\x00\x00\x00\xf8\xff'
File "/home/source/python/PyAMF-0.5/pyamf/tests/test_util.py", line 279, in _write_endian
self.assertEquals(obj.getvalue(), expected[x])
AssertionError: '\x7f\xf8\x00\x00\x00\x00\x00\x00' != '\xff\xf8\x00\x00\x00\x00\x00\x00'
----------------------------------------------------------------------
Ran 587 tests in 1.342s
FAILED (failures=1)
when not using --disable-ext , failures=59, errors=34:
# python setup.py test
running test
running egg_info
writing requirements to PyAMF.egg-info/requires.txt
writing PyAMF.egg-info/PKG-INFO
writing top-level names to PyAMF.egg-info/top_level.txt
writing dependency_links to PyAMF.egg-info/dependency_links.txt
reading manifest file 'PyAMF.egg-info/SOURCES.txt'
writing manifest file 'PyAMF.egg-info/SOURCES.txt'
running build_ext
building 'cpyamf.util' extension
/home/soft/lib/python2.6/config/ld_so_aix gcc -pthread -bI:/home/soft/lib/python2.6/config/python.exp build/temp.aix-5.3-2.6/cpyamf/util.o -o cpyamf/util.so
building 'cpyamf.amf3' extension
/home/soft/lib/python2.6/config/ld_so_aix gcc -pthread -bI:/home/soft/lib/python2.6/config/python.exp build/temp.aix-5.3-2.6/cpyamf/amf3.o -o cpyamf/amf3.so
/home/source/python/PyAMF-0.5/pyamf/util/imports.py:60: DeprecationWarning: the sets module is deprecated
__import__(name, {}, {}, [])
test_basic (pyamf.tests.test_adapters.AdapterHelperTestCase) ... ok
test_import (pyamf.tests.test_adapters.AdapterHelperTestCase) ... ok
test_amf0 (pyamf.tests.adapters.test_array.ArrayTestCase) ... ERROR
test_amf3 (pyamf.tests.adapters.test_array.ArrayTestCase) ... FAIL
....
======================================================================
FAIL: test_read_ushort (pyamf.tests.test_util.DataTypeMixInTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/source/python/PyAMF-0.5/pyamf/tests/test_util.py", line 344, in test_read_ushort
self._read_endian(['09', '90'], 'read_ushort', (), 12345)
File "/home/source/python/PyAMF-0.5/pyamf/tests/test_util.py", line 290, in _read_endian
self.assertEquals(result, expected)
AssertionError: 0 != 12345
======================================================================
FAIL: test_write_infinites (pyamf.tests.test_util.DataTypeMixInTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/source/python/PyAMF-0.5/pyamf/tests/test_util.py", line 493, in test_write_infinites
'\x00\x00\x00\x00\x00\x00\xf8\xff'
File "/home/source/python/PyAMF-0.5/pyamf/tests/test_util.py", line 279, in _write_endian
self.assertEquals(obj.getvalue(), expected[x])
AssertionError: '\x7f\xf8\x00\x00\x00\x00\x00\x00' != '\xff\xf8\x00\x00\x00\x00\x00\x00'
----------------------------------------------------------------------
Ran 587 tests in 1.187s
FAILED (failures=59, errors=34)