Commit 1f9f8254 authored by Guido van Rossum's avatar Guido van Rossum

Fix test_types.py (broken due to removal of array.array('c')).

parent 1718fd1d
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment