Commit 9ccf4683 authored by Thomas Heller's avatar Thomas Heller

test_slicing does not segfault under linux anymore, so we can run this

test by default.
parent 7775c716
...@@ -34,8 +34,6 @@ class SlicesTestCase(unittest.TestCase): ...@@ -34,8 +34,6 @@ class SlicesTestCase(unittest.TestCase):
# ValueError: Can only assign sequence of same size # ValueError: Can only assign sequence of same size
self.assertRaises(ValueError, setslice, a, 0, 5, range(32)) self.assertRaises(ValueError, setslice, a, 0, 5, range(32))
from ctypes.test import is_resource_enabled
if is_resource_enabled("struni-crash"):
def test_char_ptr(self): def test_char_ptr(self):
s = b"abcdefghijklmnopqrstuvwxyz" s = b"abcdefghijklmnopqrstuvwxyz"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment