testSeekBackwardsFromEnd(): Repair obvious syntax error.

This commit is contained in:
Tim Peters 2005-08-26 14:33:57 +00:00
parent d603c04bcd
commit e8889c5741
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class BZ2FileTest(BaseTest):
def testSeekBackwardsFromEnd(self): def testSeekBackwardsFromEnd(self):
# "Test BZ2File.seek(-150, 2)" # "Test BZ2File.seek(-150, 2)"
self.createTempFile() self.createTempFile()
)bz2f = BZ2File(self.filename) bz2f = BZ2File(self.filename)
bz2f.seek(-150, 2) bz2f.seek(-150, 2)
self.assertEqual(bz2f.read(), self.TEXT[len(self.TEXT)-150:]) self.assertEqual(bz2f.read(), self.TEXT[len(self.TEXT)-150:])
bz2f.close() bz2f.close()