mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	Fix docstring and some indentation
This commit is contained in:
		
							parent
							
								
									c56e0e3980
								
							
						
					
					
						commit
						e5eebedd55
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -918,14 +918,15 @@ def runtest(test, verbose, quiet, | ||||||
|     test -- the name of the test |     test -- the name of the test | ||||||
|     verbose -- if true, print more messages |     verbose -- if true, print more messages | ||||||
|     quiet -- if true, don't print 'skipped' messages (probably redundant) |     quiet -- if true, don't print 'skipped' messages (probably redundant) | ||||||
|     test_times -- a list of (time, test_name) pairs |  | ||||||
|     huntrleaks -- run multiple times to test for leaks; requires a debug |     huntrleaks -- run multiple times to test for leaks; requires a debug | ||||||
|                   build; a triple corresponding to -R's three arguments |                   build; a triple corresponding to -R's three arguments | ||||||
|  |     use_resources -- list of extra resources to use | ||||||
|     output_on_failure -- if true, display test output on failure |     output_on_failure -- if true, display test output on failure | ||||||
|     timeout -- dump the traceback and exit if a test takes more than |     timeout -- dump the traceback and exit if a test takes more than | ||||||
|                timeout seconds |                timeout seconds | ||||||
|  |     failfast, match_tests -- See regrtest command-line flags for these. | ||||||
| 
 | 
 | ||||||
|     Returns one of the test result constants: |     Returns the tuple result, test_time, where result is one of the constants: | ||||||
|         INTERRUPTED      KeyboardInterrupt when run under -j |         INTERRUPTED      KeyboardInterrupt when run under -j | ||||||
|         RESOURCE_DENIED  test skipped because resource denied |         RESOURCE_DENIED  test skipped because resource denied | ||||||
|         SKIPPED          test skipped for some other reason |         SKIPPED          test skipped for some other reason | ||||||
|  | @ -1276,8 +1277,7 @@ def runtest_inner(test, verbose, quiet, | ||||||
|                 test_runner = lambda: support.run_unittest(tests) |                 test_runner = lambda: support.run_unittest(tests) | ||||||
|             test_runner() |             test_runner() | ||||||
|             if huntrleaks: |             if huntrleaks: | ||||||
|                 refleak = dash_R(the_module, test, test_runner, |                 refleak = dash_R(the_module, test, test_runner, huntrleaks) | ||||||
|                     huntrleaks) |  | ||||||
|             test_time = time.time() - start_time |             test_time = time.time() - start_time | ||||||
|     except support.ResourceDenied as msg: |     except support.ResourceDenied as msg: | ||||||
|         if not quiet: |         if not quiet: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Eli Bendersky
						Eli Bendersky