diff options
| author | Guido van Rossum <guido@python.org> | 2007-07-03 20:31:48 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-07-03 20:31:48 +0000 |
| commit | 1f9f8254c44d18a60c1917eda2946e2fa426f3c6 (patch) | |
| tree | 64a87d1a7481a6432082a01ae2d13b563528e77d | |
| parent | 1718fd1dc592de4f59206b1c69eb7ed45d92d818 (diff) | |
| download | cpython-git-1f9f8254c44d18a60c1917eda2946e2fa426f3c6.tar.gz | |
Fix test_types.py (broken due to removal of array.array('c')).
| -rw-r--r-- | Lib/test/test_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index 158437b585..a40145b45f 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") |
