mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 01:47:38 +00:00 
			
		
		
		
	reenable the invalid fd test for fdopen
This commit is contained in:
		
							parent
							
								
									806d4029ed
								
							
						
					
					
						commit
						05e782fc3b
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -588,7 +588,7 @@ class Win32ErrorTests(unittest.TestCase): | ||||||
|         self.assertRaises(WindowsError, os.utime, support.TESTFN, 0) |         self.assertRaises(WindowsError, os.utime, support.TESTFN, 0) | ||||||
| 
 | 
 | ||||||
| class TestInvalidFD(unittest.TestCase): | class TestInvalidFD(unittest.TestCase): | ||||||
|     singles = ["fchdir", "dup", "fdatasync", "fstat", |     singles = ["fchdir", "dup", "fdopen", "fdatasync", "fstat", | ||||||
|                "fstatvfs", "fsync", "tcgetpgrp", "ttyname"] |                "fstatvfs", "fsync", "tcgetpgrp", "ttyname"] | ||||||
|     #singles.append("close") |     #singles.append("close") | ||||||
|     #We omit close because it doesn'r raise an exception on some platforms |     #We omit close because it doesn'r raise an exception on some platforms | ||||||
|  |  | ||||||
|  | @ -12,6 +12,8 @@ What's New in Python 3.1 alpha 0 | ||||||
| Core and Builtins | Core and Builtins | ||||||
| ----------------- | ----------------- | ||||||
| 
 | 
 | ||||||
|  | - Issue #4991: os.fdopen now raises an OSError for invalid file descriptors. | ||||||
|  | 
 | ||||||
| - Issue #4838: When a module is deallocated, free the memory backing the | - Issue #4838: When a module is deallocated, free the memory backing the | ||||||
|   optional module state data. |   optional module state data. | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson