spacepaste
new
Paste details
reply
|
raw
+
+ def test_charp2str(self):
+ def f(a):
+ return len(rffi.charp2str(a))
+
+ t, ra = self.translate(f, [rffi.CCHARP])
+ ra.do_ignore_memory_error()
+ result = ra.analyze_direct_call(graphof(t, f))
+ assert not result # ignore AssertionError
+