Bug 1561011 - python33: test_buffer fails on ppc64le
Summary: python33: test_buffer fails on ppc64le
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python33
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1540995
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2018-03-27 12:44 UTC by Miro Hrončok
Modified: 2018-09-24 13:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1544833
Environment:
Last Closed: 2018-09-24 13:03:15 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1556290 None None None Never

Internal Links: 1556290

Description Miro Hrončok 2018-03-27 12:44:10 UTC
+++ This bug was initially created as a clone of Bug #1544833 +++

When building python33, the following test failure happens on ppc64le:

======================================================================
FAIL: test_memoryview_struct_module (test.test_buffer.TestBufferProtocol)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.3.7/Lib/test/test_buffer.py", line 2506, in test_memoryview_struct_module
    self.assertEqual(m[1], nd[1])
AssertionError: -21.099998474121094 != -21.100000381469727
----------------------------------------------------------------------


This tests equivalence of struct.pack_into and assigning into a memoryview, and fails on a Decimal instance.

This doesn't look too serious, so I'll disable the test for now, but it would be nice to look into it some day.

(Given the nature of the package and the arch specificity of this test failure, I'm not sure it's worth it.)

Comment 1 Petr Viktorin 2018-09-24 13:03:15 UTC
Retired in f29+


Note You need to log in before you can comment on or make changes to this bug.