diff options
-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 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") |