[pypy-svn] pypy jitypes2: fix test
antocuni
commits-noreply at bitbucket.org
Wed Mar 23 13:58:04 CET 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r42868:0b2e8fcbcf54
Date: 2011-03-23 13:56 +0100
http://bitbucket.org/pypy/pypy/changeset/0b2e8fcbcf54/
Log: fix test
diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_numbers.py b/pypy/module/test_lib_pypy/ctypes_tests/test_numbers.py
--- a/pypy/module/test_lib_pypy/ctypes_tests/test_numbers.py
+++ b/pypy/module/test_lib_pypy/ctypes_tests/test_numbers.py
@@ -157,7 +157,7 @@
def test_float_from_address(self):
- from _rawffi import Array
+ from array import array
for t in float_types:
if t is c_longdouble: # no support for 'g' in the array module
continue
@@ -168,7 +168,6 @@
a[0] = 2.3456e17
assert v.value == a[0]
assert type(v) is t
- a.free()
def test_char_from_address(self):
from ctypes import c_char
More information about the Pypy-commit
mailing list