We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e782890 commit c11f41bCopy full SHA for c11f41b
Lib/test/test_flufl.py
@@ -17,7 +17,7 @@ def test_barry_as_bdfl(self):
17
self.assertIn('2 != 3', cm.exception.text)
18
self.assertEqual(cm.exception.filename, '<FLUFL test>')
19
20
- self.assertTrue(cm.exception.lineno, 2)
+ self.assertEqual(cm.exception.lineno, 2)
21
# The old parser reports the end of the token and the new
22
# parser reports the start of the token
23
self.assertEqual(cm.exception.offset, 4 if support.use_old_parser() else 3)
0 commit comments