summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/test/test_array.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py
index 68f2787..7a3308b 100755
--- a/Lib/test/test_array.py
+++ b/Lib/test/test_array.py
@@ -80,6 +80,7 @@ class BaseTest(unittest.TestCase):
self.assertEqual(a[0], a[1])
self.assertRaises(TypeError, a.insert)
self.assertRaises(TypeError, a.insert, None)
+ self.assertRaises(TypeError, a.insert, 0, None)
def test_tofromfile(self):
a = array.array(self.typecode, 2*self.example)