Bug #1535182: really test the xreadlines() method of bz2 objects.
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index 79acc07..56b5ffa 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -258,7 +258,7 @@
         bz2f = BZ2File(self.filename)
         xlines = list(bz2f.xreadlines())
         bz2f.close()
-        self.assertEqual(lines, ['Test'])
+        self.assertEqual(xlines, ['Test'])
 
 
 class BZ2CompressorTest(BaseTest):
diff --git a/Misc/NEWS b/Misc/NEWS
index 33cb0f9..f06f98c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,6 +48,8 @@
 Tests
 -----
 
+- Bug #1535182: really test the xreadlines() method of bz2 objects.
+
 
 Documentation
 -------------