summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-03 20:31:48 (GMT)
committerGuido van Rossum <guido@python.org>2007-07-03 20:31:48 (GMT)
commit1f9f8254c44d18a60c1917eda2946e2fa426f3c6 (patch)
tree64a87d1a7481a6432082a01ae2d13b563528e77d
parent1718fd1dc592de4f59206b1c69eb7ed45d92d818 (diff)
downloadcpython-1f9f8254c44d18a60c1917eda2946e2fa426f3c6.zip
cpython-1f9f8254c44d18a60c1917eda2946e2fa426f3c6.tar.gz
cpython-1f9f8254c44d18a60c1917eda2946e2fa426f3c6.tar.bz2
Fix test_types.py (broken due to removal of array.array('c')).
-rw-r--r--Lib/test/test_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py
index 158437b..a40145b 100644
--- a/Lib/test/test_types.py
+++ b/Lib/test/test_types.py
@@ -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")