diff options
Diffstat (limited to 'pypy/module/_rawffi')
-rw-r--r-- | pypy/module/_rawffi/test/test__rawffi.py | 1 | ||||
-rw-r--r-- | pypy/module/_rawffi/test/test_nested.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/pypy/module/_rawffi/test/test__rawffi.py b/pypy/module/_rawffi/test/test__rawffi.py index a232b9422e..81d60ec085 100644 --- a/pypy/module/_rawffi/test/test__rawffi.py +++ b/pypy/module/_rawffi/test/test__rawffi.py @@ -296,6 +296,7 @@ class AppTestFfi: assert _rawffi.charp2string(res[0]) is None arg1.free() arg2.free() + a.free() def test_raw_callable(self): import _rawffi diff --git a/pypy/module/_rawffi/test/test_nested.py b/pypy/module/_rawffi/test/test_nested.py index 077dfe3f78..e0bbd87a84 100644 --- a/pypy/module/_rawffi/test/test_nested.py +++ b/pypy/module/_rawffi/test/test_nested.py @@ -107,7 +107,6 @@ class AppTestNested: assert S.fieldoffset('x') == 0 assert S.fieldoffset('ar') == A5alignment s = S() - s = S() s.x = 'G' raises(TypeError, 's.ar') assert s.fieldaddress('ar') == s.buffer + S.fieldoffset('ar') |