Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(81190)

Unified Diff: Lib/unittest/test/test_runner.py

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_zipfile.py ('k') | Lib/webbrowser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/unittest/test/test_runner.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/unittest/test/test_runner.py Wed Mar 02 00:01:35 2016 +0000
@@ -269,16 +269,17 @@ class Test_TextTestRunner(unittest.TestC
VERBOSITY = object()
runner = unittest.TextTestRunner(STREAM, DESCRIPTIONS, VERBOSITY,
resultclass=MockResultClass)
self.assertEqual(runner.resultclass, MockResultClass)
expectedresult = (runner.stream, DESCRIPTIONS, VERBOSITY)
self.assertEqual(runner._makeResult(), expectedresult)
+ @unittest.skipUnless(hasattr(subprocess, 'Popen'), "test requires subprocess.Popen()")
def test_warnings(self):
"""
Check that warnings argument of TextTestRunner correctly affects the
behavior of the warnings.
"""
# see #10535 and the _test_warnings file for more information
def get_parse_out_err(p):
« no previous file with comments | « Lib/test/test_zipfile.py ('k') | Lib/webbrowser.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+