[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2022-01-24 Thread Irit Katriel


Irit Katriel  added the comment:

3.7 is no longer being maintained. Please create a new issue if you are having 
this problem on a current version (>= 3.9)

--
nosy: +iritkatriel
resolution:  -> out of date
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2019-12-10 Thread Xavier de Gaye


Change by Xavier de Gaye :


--
nosy:  -xdegaye

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2018-01-23 Thread pmpp

Change by pmpp :


--
nosy: +pmpp

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2017-12-02 Thread Xavier de Gaye

New submission from Xavier de Gaye :

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

--
components: Extension Modules, Tests
messages: 307439
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
title: [ctypes] all long double tests fail on android-24-x86_64
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com