mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix unittest discovery tests for Windows. Issue 6199
This commit is contained in:
		
							parent
							
								
									3b5d5fb123
								
							
						
					
					
						commit
						d53d085ada
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -3537,7 +3537,9 @@ def loadTestsFromModule(module, use_load_tests): | |||
| 
 | ||||
|         # We should have loaded tests from the test_directory package by calling load_tests | ||||
|         # and directly from the test_directory2 package | ||||
|         self.assertEqual(suite, ['load_tests', '/foo/test_directory2 module tests']) | ||||
|         self.assertEqual(suite, | ||||
|                          ['load_tests', | ||||
|                           os.path.join('/foo', 'test_directory2') + ' module tests']) | ||||
|         self.assertEqual(Module.paths, [os.path.join('/foo', 'test_directory'), | ||||
|                                         os.path.join('/foo', 'test_directory2')]) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael Foord
						Michael Foord