Author: Philip Jenvey <[email protected]>
Branch: stdlib-2.7.11
Changeset: r83283:99cde77e5894
Date: 2016-03-22 18:34 -0700
http://bitbucket.org/pypy/pypy/changeset/99cde77e5894/

Log:    PyPy ctypes doesn't support endian swapping (pypy issue1213)

diff --git a/lib-python/2.7/ctypes/test/test_bitfields.py 
b/lib-python/2.7/ctypes/test/test_bitfields.py
--- a/lib-python/2.7/ctypes/test/test_bitfields.py
+++ b/lib-python/2.7/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 @@
         x.c = 2
         self.assertEqual(b.tostring(), b'\xef\xcd\xab\x21')
 
+    @xfail
     @need_symbol('c_uint32')
     def test_uint32_swap_big_endian(self):
         # Issue #23319
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to