Message 63004 - Python tracker

Message63004

Author benjamin.peterson
Recipients _doublep, belopolsky, benjamin.peterson, gvanrossum, nnorwitz
Date 2008-02-25.21:32:07
SpamBayes Score 0.040383045
Marked as misclassified No
Message-id <1203975130.0.0.0092678359847.issue1394@psf.upfronthosting.co.za>
In-reply-to
Content
>Yes, help with unit tests would be appreciated.  Especially since it is
>not supposed to fix anything, so I'm not sure what unit tests should be
>like...
Unit tests are just for bugfixes. They let us make sure Python is doing
what we want it to do in a given case. Your unit test will probably have
functions where you optimization should take effect and assert that it
does. For starters, take a look at Lib/test/test_peephole.py
History
Date User Action Args
2008-02-25 21:32:10benjamin.petersonsetspambayes_score: 0.040383 -> 0.040383045
recipients: + benjamin.peterson, gvanrossum, nnorwitz, belopolsky, _doublep
2008-02-25 21:32:10benjamin.petersonsetspambayes_score: 0.040383 -> 0.040383
messageid: <1203975130.0.0.0092678359847.issue1394@psf.upfronthosting.co.za>
2008-02-25 21:32:07benjamin.petersonlinkissue1394 messages
2008-02-25 21:32:07benjamin.petersoncreate