mirror of
				https://github.com/sphinx-doc/sphinx.git
				synced 2025-02-25 18:55:22 -06:00 
			
		
		
		
	fix test error; can't remove empty directory problem on Windows.
This commit is contained in:
		@@ -49,7 +49,7 @@ def with_setup_command(root, *args, **kwds):
 | 
			
		||||
                    stderr=subprocess.PIPE)
 | 
			
		||||
                func(pkgrootdir, proc, *args, **kwds)
 | 
			
		||||
            finally:
 | 
			
		||||
                tempdir.rmtree()
 | 
			
		||||
                tempdir.rmtree(ignore_errors=True)
 | 
			
		||||
                os.chdir(cwd)
 | 
			
		||||
        return deco
 | 
			
		||||
    return generator
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user