Fix test_types.py (broken due to removal of array.array('c')).
This commit is contained in:
parent
1718fd1dc5
commit
1f9f8254c4
@ -247,7 +247,7 @@ class TypesTests(unittest.TestCase):
|
||||
# array.array() returns an object that does not implement a char buffer,
|
||||
# something which int() uses for conversion.
|
||||
import array
|
||||
try: int(buffer(array.array('c')))
|
||||
try: int(buffer(array.array('b')))
|
||||
except TypeError: pass
|
||||
else: self.fail("char buffer (at C level) not working")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user