These tests are ok on Android API 24 on the armv7, x86 and arm64 architectures.
======================================================================
FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.python/lib/python3.7/ctypes/test/test_callbacks.py", line 83, in test_longdouble
self.check_type(c_longdouble, 3.14)
File "/sdcard/org.python/lib/python3.7/ctypes/test/test_callbacks.py", line 25, in check_type
self.assertEqual(result, arg)
AssertionError: 0.0 != 3.14
======================================================================
FAIL: test_longdouble (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.python/lib/python3.7/ctypes/test/test_cfuncs.py", line 165, in test_longdouble
self.assertEqual(self._dll.tf_D(42.), 14.)
AssertionError: 0.0 != 14.0
======================================================================
FAIL: test_longdouble_plus (ctypes.test.test_cfuncs.CFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.python/lib/python3.7/ctypes/test/test_cfuncs.py", line 171, in test_longdouble_p
lus
self.assertEqual(self._dll.tf_bD(0, 42.), 14.)
AssertionError: 0.0 != 14.0
======================================================================
FAIL: test_longdoubleresult (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.python/lib/python3.7/ctypes/test/test_functions.py", line 146, in test_longdoubl
eresult
self.assertEqual(result, 21)
AssertionError: 0.0 != 21
----------------------------------------------------------------------
Ran 468 tests in 1.815s
FAILED (failures=4, skipped=92)
test test_ctypes failed
test_ctypes failed
1 test failed:
test_ctypes
|