mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Issue #22834: cwd can't not exist on Windows, skip the test
This commit is contained in:
		
							parent
							
								
									c4821d62b4
								
							
						
					
					
						commit
						513112b229
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -159,6 +159,7 @@ class FinderTests:
 | 
				
			||||||
            got = self.machinery.PathFinder.find_spec('whatever', [path])
 | 
					            got = self.machinery.PathFinder.find_spec('whatever', [path])
 | 
				
			||||||
        self.assertEqual(got, success_finder.spec)
 | 
					        self.assertEqual(got, success_finder.spec)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @unittest.skipIf(sys.platform == 'win32', "cwd can't not exist on Windows")
 | 
				
			||||||
    def test_deleted_cwd(self):
 | 
					    def test_deleted_cwd(self):
 | 
				
			||||||
        # Issue #22834
 | 
					        # Issue #22834
 | 
				
			||||||
        self.addCleanup(os.chdir, os.getcwd())
 | 
					        self.addCleanup(os.chdir, os.getcwd())
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue