[pypy-commit] pypy py3.5: @xfail a test: supporting bitfields in other-endian Structures is too messy

rlamy pypy.commits at gmail.com
Fri Oct 20 17:16:41 EDT 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r92808:680d99dade82
Date: 2017-10-20 22:16 +0100
http://bitbucket.org/pypy/pypy/changeset/680d99dade82/

Log:	@xfail a test: supporting bitfields in other-endian Structures is
	too messy

diff --git a/lib-python/3/ctypes/test/test_bitfields.py b/lib-python/3/ctypes/test/test_bitfields.py
--- a/lib-python/3/ctypes/test/test_bitfields.py
+++ b/lib-python/3/ctypes/test/test_bitfields.py
@@ -1,5 +1,5 @@
 from ctypes import *
-from ctypes.test import need_symbol
+from ctypes.test import need_symbol, xfail
 import unittest
 import os
 
@@ -279,6 +279,7 @@
         self.assertEqual(b, b'\xef\xcd\xab\x21')
 
     @need_symbol('c_uint32')
+    @xfail
     def test_uint32_swap_big_endian(self):
         # Issue #23319
         class Big(BigEndianStructure):


More information about the pypy-commit mailing list