From 30a1b15c10c4b6f21660dc2001087dc10c1bd023 Mon Sep 17 00:00:00 2001 From: Patrick Reader <_@pxeger.com> Date: Thu, 17 Feb 2022 16:49:01 +0000 Subject: [PATCH] fix mistake in barry_as_FLUFL test --- Lib/test/test_flufl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_flufl.py b/Lib/test/test_flufl.py index 0ff54aa227e37c..a81a4d4c8f0e4c 100644 --- a/Lib/test/test_flufl.py +++ b/Lib/test/test_flufl.py @@ -17,7 +17,7 @@ def test_barry_as_bdfl(self): self.assertIn('2 != 3', cm.exception.text) self.assertEqual(cm.exception.filename, '') - self.assertTrue(cm.exception.lineno, 2) + self.assertEqual(cm.exception.lineno, 2) # The old parser reports the end of the token and the new # parser reports the start of the token self.assertEqual(cm.exception.offset, 3)