mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	bpo-37064: Skip test_tools.test_pathfix if installed (GH-15705)
If Python is installed, skip test_tools.test_pathfix test because Tools/scripts/pathfix.py script is not installed.
This commit is contained in:
		
							parent
							
								
									2bc43cdc01
								
							
						
					
					
						commit
						3f43ceff18
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -3,7 +3,11 @@ | ||||||
| import sys | import sys | ||||||
| import unittest | import unittest | ||||||
| from test import support | from test import support | ||||||
| from test.test_tools import import_tool, scriptsdir | from test.test_tools import import_tool, scriptsdir, skip_if_missing | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # need Tools/script/ directory: skip if run on Python installed on the system | ||||||
|  | skip_if_missing() | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class TestPathfixFunctional(unittest.TestCase): | class TestPathfixFunctional(unittest.TestCase): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner