diff Lib/test/test_array.py @ 58198:0dd1aa33265f legacy-trunk

Reverting the Revision: 77368. I committed Flox's big patch for tests by mistake. ( It may come in for sure tough)
author Senthil Kumaran <orsenthil@gmail.com>
date Fri, 08 Jan 2010 19:04:16 +0000
parents 7caf54ce529e
children 6ffcdafa0118
line wrap: on
line diff
--- a/Lib/test/test_array.py	Fri Jan 08 18:41:40 2010 +0000
+++ b/Lib/test/test_array.py	Fri Jan 08 19:04:16 2010 +0000
@@ -749,9 +749,7 @@
 
     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):