[Python-checkins] r68962 - in python/branches/release30-maint: Doc/library/operator.rst Lib/locale.py Lib/test/test_array.py Lib/test/test_bool.pyLib/test/test_operator.pyMisc/NEWS Modules/operator.c

Antoine Pitrou solipsis at pitrou.net
Mon Jan 26 15:52:40 CET 2009


> Modified: python/branches/release30-maint/Lib/test/test_array.py
> ==============================================================================
> --- python/branches/release30-maint/Lib/test/test_array.py	(original)
> +++ python/branches/release30-maint/Lib/test/test_array.py	Mon Jan 26 04:44:49
2009
> @@ -725,8 +725,6 @@
>          self.assertRaises(BufferError, operator.setitem, a, slice(0, 0), a)
>          self.assertRaises(BufferError, operator.delitem, a, 0)
>          self.assertRaises(BufferError, operator.delitem, a, slice(0, 1))
> -        self.assertRaises(BufferError, operator.irepeat, a, 2)
> -        self.assertRaises(BufferError, operator.irepeat, a, 0)

I think these tests should have been written differently, rather than removed.
While operator.irepeat has disappeared, the operation being tested still exists.

Regards

Antoine.




More information about the Python-checkins mailing list