Author: Armin Rigo <[email protected]>
Branch: gc-incminimark-pinning
Changeset: r74071:a4c674b9e803
Date: 2014-10-22 14:35 +0200
http://bitbucket.org/pypy/pypy/changeset/a4c674b9e803/
Log: Kill outdated test
diff --git a/pypy/module/cpyext/test/test_unicodeobject.py
b/pypy/module/cpyext/test/test_unicodeobject.py
--- a/pypy/module/cpyext/test/test_unicodeobject.py
+++ b/pypy/module/cpyext/test/test_unicodeobject.py
@@ -326,13 +326,6 @@
self.raises(space, api, TypeError, api.PyUnicode_FromEncodedObject,
space.wrap(u_text), null_charp, None)
rffi.free_charp(b_text)
- def test_leak(self):
- size = 50
- raw_buf, gc_buf = rffi.alloc_buffer(size)
- for i in range(size): raw_buf[i] = 'a'
- str = rffi.str_from_buffer(raw_buf, gc_buf, size, size)
- rffi.keep_buffer_alive_until_here(raw_buf, gc_buf)
-
def test_mbcs(self, space, api):
if sys.platform != 'win32':
py.test.skip("mcbs encoding only exists on Windows")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit