mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Issue #19877: fix regression in test_pathlib when Windows has symlink support available (i.e. in administrator mode).
Patch by Vajrasky Kok.
This commit is contained in:
		
							parent
							
								
									85a2be7da7
								
							
						
					
					
						commit
						cc157516a9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1275,8 +1275,8 @@ def test_resolve_dot(self): | |||
|         # See https://bitbucket.org/pitrou/pathlib/issue/9/pathresolve-fails-on-complex-symlinks | ||||
|         p = self.cls(BASE) | ||||
|         self.dirlink('.', join('0')) | ||||
|         self.dirlink('0/0', join('1')) | ||||
|         self.dirlink('1/1', join('2')) | ||||
|         self.dirlink(os.path.join('0', '0'), join('1')) | ||||
|         self.dirlink(os.path.join('1', '1'), join('2')) | ||||
|         q = p / '2' | ||||
|         self.assertEqual(q.resolve(), p) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou