[Python-Dev] [Python-checkins] python/dist/src/Lib/test test_bz2.py, 1.18, 1.19
Reinhold Birkenfeld
reinhold-birkenfeld-nospam at wolke7.net
Fri Aug 26 16:46:20 CEST 2005
Tim Peters wrote:
> [birkenfeld at users.sourceforge.net]
>> Update of /cvsroot/python/python/dist/src/Lib/test
>> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4822/Lib/test
>>
>> Modified Files:
>> test_bz2.py
>> Log Message:
>> Add list() around xreadlines()
>>
>>
>>
>> Index: test_bz2.py
>> ===================================================================
>> RCS file: /cvsroot/python/python/dist/src/Lib/test/test_bz2.py,v
>> retrieving revision 1.18
>> retrieving revision 1.19
>> diff -u -d -r1.18 -r1.19
>> --- test_bz2.py 21 Aug 2005 14:16:04 -0000 1.18
>> +++ test_bz2.py 26 Aug 2005 13:23:54 -0000 1.19
>> @@ -191,7 +191,7 @@
>> def testSeekBackwardsFromEnd(self):
>> # "Test BZ2File.seek(-150, 2)"
>> self.createTempFile()
>> - bz2f = BZ2File(self.filename)
>> + )bz2f = BZ2File(self.filename)
>
> Note that this added a right parenthesis to the start of the line.
> That creates a syntax error, so this test could not have been tried
> before checking in. It also causes test_compiler to fail.
Thank you for correcting. The parenthesis must have been accidentally slipped
in while I was reviewing the change for correctness.
Reinhold
--
Mail address is perfectly valid!
More information about the Python-Dev
mailing list