From: Terry Jan Reedy Date: Sun, 1 Sep 2013 00:37:21 +0000 (-0400) Subject: Silence deprecation warning in test_unittest for 'None > 1'. X-Git-Tag: v2.7.6rc1~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c534a46242dd65914090429385588d852188011;p=thirdparty%2FPython%2Fcpython.git 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. --- 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):