mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Get rid of deprecation warning when testing commands.getstatus()
This commit is contained in:
		
							parent
							
								
									216f9b0709
								
							
						
					
					
						commit
						c473d5ebab
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -4,6 +4,10 @@ | |||
| ''' | ||||
| import unittest | ||||
| import os, tempfile, re | ||||
| import warnings | ||||
| 
 | ||||
| warnings.filterwarnings('ignore', r".*commands.getstatus.. is deprecated", | ||||
|                         DeprecationWarning) | ||||
| 
 | ||||
| from test.test_support import TestSkipped, run_unittest, reap_children | ||||
| from commands import * | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz