Message217660
On Wed, Apr 30, 2014 at 3:05 PM, Adam Polkosnik wrote:
> test.zip up there is the test case for this change. Is there any other test case needed?
ah; I see the confusion. test.zip is test *data*. When I asked for a
test *case*, I meant something that ensures the data will be used to
actually run the test automatically.
Typically, that would involve adding something to
Lib/test/test_zipfile.py. I'm guessing it would be easiest to add a
new class inheriting from unittest.TestCase and opening test.zip in
the setUp, then using a bunch of assert* methods to verify that the
file was read and interpreted correctly.
-jJ |
|
Date |
User |
Action |
Args |
2014-04-30 22:00:30 | Jim.Jewett | set | recipients:
+ Jim.Jewett, georg.brandl, terry.reedy, gregory.p.smith, ronaldoussoren, amaury.forgeotdarc, ncoghlan, alanmcintyre, NewerCookie, chuck, ethan.furman, francismb, berker.peksag, serhiy.storchaka, apolkosnik |
2014-04-30 22:00:30 | Jim.Jewett | link | issue6839 messages |
2014-04-30 22:00:30 | Jim.Jewett | create | |
|