From 0c534a46242dd65914090429385588d852188011 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 31 Aug 2013 20:37:21 -0400 Subject: [PATCH] Silence deprecation warning in test_unittest for 'None > 1'. This is the same change that was made in 3.x when this became an error. --- Lib/unittest/test/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/unittest/test/test_runner.py b/Lib/unittest/test/test_runner.py index d1cefae4c175..3b661d334081 100644 --- a/Lib/unittest/test/test_runner.py +++ b/Lib/unittest/test/test_runner.py @@ -159,7 +159,7 @@ class Test_TextTestRunner(unittest.TestCase): # This used to raise an exception due to TextTestResult not passing # on arguments in its __init__ super call - ATextResult(None, None, None) + ATextResult(None, None, 1) def testBufferAndFailfast(self): -- 2.47.3