classification
Title: [ctypes] all long double tests fail on android-24-x86_64
Type: behavior Stage: needs patch
Components: Extension Modules, Tests Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: pmpp, xdegaye
Priority: normal Keywords:

Created on 2017-12-02 17:09 by xdegaye, last changed 2018-01-23 20:53 by pmpp.

Messages (1)
msg307439 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2017-12-02 17:09
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
History
Date User Action Args
2018-01-23 20:53:26pmppsetnosy: + pmpp
2017-12-09 15:42:06xdegayelinkissue26865 dependencies
2017-12-02 17:09:53xdegayecreate