summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bz2.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-08-26 14:33:57 (GMT)
committerTim Peters <tim.peters@gmail.com>2005-08-26 14:33:57 (GMT)
commite8889c5741b636aa798757eb5500d304b1704344 (patch)
tree701adff23baa067b882fd4e2beca8d9eeb8c2196 /Lib/test/test_bz2.py
parentd603c04bcdf7c04801d75efc8a25799728252279 (diff)
downloadcpython-e8889c5741b636aa798757eb5500d304b1704344.zip
cpython-e8889c5741b636aa798757eb5500d304b1704344.tar.gz
cpython-e8889c5741b636aa798757eb5500d304b1704344.tar.bz2
testSeekBackwardsFromEnd(): Repair obvious syntax error.
Diffstat (limited to 'Lib/test/test_bz2.py')
-rw-r--r--Lib/test/test_bz2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index a768957..504a6d7 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -191,7 +191,7 @@ class BZ2FileTest(BaseTest):
def testSeekBackwardsFromEnd(self):
# "Test BZ2File.seek(-150, 2)"
self.createTempFile()
- )bz2f = BZ2File(self.filename)
+ bz2f = BZ2File(self.filename)
bz2f.seek(-150, 2)
self.assertEqual(bz2f.read(), self.TEXT[len(self.TEXT)-150:])
bz2f.close()