summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_array.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_array.py')
-rwxr-xr-xLib/test/test_array.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py
index 004501a..63f7083 100755
--- a/Lib/test/test_array.py
+++ b/Lib/test/test_array.py
@@ -749,9 +749,7 @@ class BaseTest(unittest.TestCase):
def test_buffer(self):
a = array.array(self.typecode, self.example)
- # Silence Py3k warning
- with test_support.check_warnings():
- b = buffer(a)
+ b = buffer(a)
self.assertEqual(b[0], a.tostring()[0])
def test_weakref(self):