diff options
Diffstat (limited to 'Lib/test/test_array.py')
| -rwxr-xr-x | Lib/test/test_array.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 4c870d7..01c2209 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -728,7 +728,8 @@ class BaseTest(unittest.TestCase): def test_buffer(self): a = array.array(self.typecode, self.example) - b = buffer(a) + with test_support._check_py3k_warnings(): + b = buffer(a) self.assertEqual(b[0], a.tostring()[0]) def test_weakref(self): |
