Author: guido.van.rossum
Date: Tue Jul 3 22:31:48 2007
New Revision: 56167
Modified:
python/branches/py3k-struni/Lib/test/test_types.py
Log:
Fix test_types.py (broken due to removal of array.array('c')).
Modified: python/branches/py3k-struni/Lib/test/test_types.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_types.py (original)
+++ python/branches/py3k-struni/Lib/test/test_types.py Tue Jul 3 22:31:48 2007
@@ -247,7 +247,7 @@
# 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")
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins