mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Fix spurious diff if the cases generator is run on Windows (#108319)
This commit is contained in:
		
							parent
							
								
									fc23f34cc9
								
							
						
					
					
						commit
						a0bb4a39d1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -237,7 +237,7 @@ def from_source_files(self) -> str: | ||||||
|             except ValueError: |             except ValueError: | ||||||
|                 # May happen on Windows if root and temp on different volumes |                 # May happen on Windows if root and temp on different volumes | ||||||
|                 pass |                 pass | ||||||
|             filenames.append(filename) |             filenames.append(filename.replace(os.path.sep, posixpath.sep)) | ||||||
|         paths = f"\n{self.out.comment}   ".join(filenames) |         paths = f"\n{self.out.comment}   ".join(filenames) | ||||||
|         return f"{self.out.comment} from:\n{self.out.comment}   {paths}\n" |         return f"{self.out.comment} from:\n{self.out.comment}   {paths}\n" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alex Waygood
						Alex Waygood