summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-09-01 00:37:21 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-09-01 00:37:21 (GMT)
commit0c534a46242dd65914090429385588d852188011 (patch)
treeb2e07e1047a63bbd2fd82913199cbb086e8b5f72
parent4c42735a99625615ce4277b75a6e1d92e173af03 (diff)
downloadcpython-0c534a46242dd65914090429385588d852188011.zip
cpython-0c534a46242dd65914090429385588d852188011.tar.gz
cpython-0c534a46242dd65914090429385588d852188011.tar.bz2
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.
-rw-r--r--Lib/unittest/test/test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/test_runner.py b/Lib/unittest/test/test_runner.py
index d1cefae..3b661d3 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):