This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Solaris 11.3 w/ Studio 12.6 test_ctypes fail
Type: behavior Stage: resolved
Components: ctypes, Tests Versions: Python 3.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: gmarler, iritkatriel
Priority: normal Keywords:

Created on 2019-06-17 00:43 by gmarler, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg345793 - (view) Author: Gordon Marler (gmarler) Date: 2019-06-17 00:43
Building a 64-bit Python 3.7.3 on Solaris 11.3 with Studio 12.6, and these test_ctypes tests fail:

python -m test -v test_ctypes

...

======================================================================
FAIL: test_ints (ctypes.test.test_bitfields.C_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/ctypes/test/test_bitfields.py", line 40, in test_ints
    self.assertEqual(getattr(b, name), func(byref(b), name.encode('ascii')))
AssertionError: -1 != 1

======================================================================
FAIL: test_shorts (ctypes.test.test_bitfields.C_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/ctypes/test/test_bitfields.py", line 47, in test_shorts
    self.assertEqual(getattr(b, name), func(byref(b), name.encode('ascii')))
AssertionError: -1 != 1

======================================================================
FAIL: test_pass_by_value (ctypes.test.test_structures.StructureTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/perfwork/gitwork/python/solaris/components/python/python373/Python-3.7.3/Lib/ctypes/test/test_structures.py", line 416, in test_pass_by_value
    self.assertEqual(s.first, 0xdeadbeef)
AssertionError: 195948557 != 3735928559

----------------------------------------------------------------------

Ran 472 tests in 3.545s

FAILED (failures=3, skipped=94)
test test_ctypes failed
test_ctypes failed
msg410709 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-16 18:29
3.7 is no longer maintained. Please create a new issue if you are seeing this problem on a current version (>= 3.9).
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81491
2022-01-16 18:29:47iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg410709

resolution: out of date
stage: resolved
2019-06-17 00:43:39gmarlercreate