Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py
index 63f7083..004501a 100755
--- a/Lib/test/test_array.py
+++ b/Lib/test/test_array.py
@@ -749,7 +749,9 @@
 
     def test_buffer(self):
         a = array.array(self.typecode, self.example)
-        b = buffer(a)
+        # Silence Py3k warning
+        with test_support.check_warnings():
+            b = buffer(a)
         self.assertEqual(b[0], a.tostring()[0])
 
     def test_weakref(self):