Message116392
This is probably a clang bug but this is the only test failing with clang:
======================================================================
FAIL: test_byte (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 20, in test_byte
self.assertEqual(self._dll.tf_b(-126), -42)
AssertionError: 43 != -42
======================================================================
FAIL: test_byte_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 26, in test_byte_plus
self.assertEqual(self._dll.tf_bb(0, -126), -42)
AssertionError: 43 != -42
======================================================================
FAIL: test_short (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 44, in test_short
self.assertEqual(self._dll.tf_h(-32766), -10922)
AssertionError: 10923 != -10922
======================================================================
FAIL: test_short_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_cfuncs.py", line 50, in test_short_plus
self.assertEqual(self._dll.tf_bh(0, -32766), -10922)
AssertionError: 10923 != -10922
======================================================================
FAIL: test_doubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 143, in test_doubleresult
self.assertEqual(result, -21)
AssertionError: 65771.0 != -21
======================================================================
FAIL: test_floatresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 131, in test_floatresult
self.assertEqual(result, -21)
AssertionError: 65771.0 != -21
======================================================================
FAIL: test_intresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 105, in test_intresult
self.assertEqual(result, -21)
AssertionError: 65771 != -21
======================================================================
FAIL: test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Sources/py3k/Lib/ctypes/test/test_functions.py", line 155, in test_longdoubleresult
self.assertEqual(result, -21)
AssertionError: 65771.0 != -21 |
|
Date |
User |
Action |
Args |
2010-09-14 12:05:48 | donmez | set | recipients:
+ donmez, theller |
2010-09-14 12:05:48 | donmez | set | messageid: <1284465948.07.0.835658917717.issue9852@psf.upfronthosting.co.za> |
2010-09-14 12:05:46 | donmez | link | issue9852 messages |
2010-09-14 12:05:44 | donmez | create | |
|