churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

Blame 00264-skip-test-failing-on-aarch64.patch

Iryna Shcherbina aba719b
diff --git a/Lib/ctypes/test/test_structures.py b/Lib/ctypes/test/test_structures.py
Iryna Shcherbina aba719b
index 3eded77..ad7859a 100644
Iryna Shcherbina aba719b
--- a/Lib/ctypes/test/test_structures.py
Iryna Shcherbina aba719b
+++ b/Lib/ctypes/test/test_structures.py
Iryna Shcherbina aba719b
@@ -392,6 +392,7 @@ class StructureTestCase(unittest.TestCase):
Iryna Shcherbina aba719b
                          (1, 0, 0, 0, 0, 0))
Iryna Shcherbina aba719b
         self.assertRaises(TypeError, lambda: Z(1, 2, 3, 4, 5, 6, 7))
Iryna Shcherbina aba719b
 
Iryna Shcherbina aba719b
+    @unittest.skip('Fails on aarch64: http://bugs.python.org/issue29804')
Iryna Shcherbina aba719b
     def test_pass_by_value(self):
Iryna Shcherbina aba719b
         # This should mirror the structure in Modules/_ctypes/_ctypes_test.c
Iryna Shcherbina aba719b
         class X(Structure):