[Python-Dev] Memory tests in Unicode

Jean-Paul Calderone exarkun at divmod.com
Sat Aug 16 18:11:20 CEST 2008


On Sat, 16 Aug 2008 13:01:33 -0300, Facundo Batista <facundobatista at gmail.com> wrote:
>2008/8/16 Antoine Pitrou <solipsis at pitrou.net>:
>
>> If the test does allocate the very large string, it means MemoryError isn't
>> raised, which defeats the purpose of the test.
>
>I do *not* want to remove the test.

Antoine wasn't suggesting removing it.  He's suggesting that the test
is not accomplishing its goal if the "except" suite isn't executed,
and so the test should be changed to make this failure noticable.

Jean-Paul


More information about the Python-Dev mailing list