mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	#22315: Use an existent directory for 'src' to trigger appropriate behavior.
This commit is contained in:
		
							parent
							
								
									47f44c9309
								
							
						
					
					
						commit
						d28c5f00ef
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -128,7 +128,8 @@ def test_copy_tree_exception_in_listdir(self, listdir):
 | 
				
			||||||
        An exception in listdir should raise a DistutilsFileError
 | 
					        An exception in listdir should raise a DistutilsFileError
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        with self.assertRaises(errors.DistutilsFileError):
 | 
					        with self.assertRaises(errors.DistutilsFileError):
 | 
				
			||||||
            dir_util.copy_tree(self.target, None)
 | 
					            src = self.tempdirs[-1]
 | 
				
			||||||
 | 
					            dir_util.copy_tree(src, None)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def test_suite():
 | 
					def test_suite():
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue