mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	Issue #2394: implement more of the memoryview API.
This commit is contained in:
		
							parent
							
								
									4aeec04624
								
							
						
					
					
						commit
						616d28566b
					
				
					 4 changed files with 418 additions and 25 deletions
				
			
		|  | @ -621,7 +621,7 @@ def test_partial(self): | |||
| 
 | ||||
|     def test_bug1601501(self): | ||||
|         # SF bug #1601501: check that the codec works with a buffer | ||||
|         str(b"\xef\xbb\xbf", "utf-8-sig") | ||||
|         self.assertEquals(str(b"\xef\xbb\xbf", "utf-8-sig"), "") | ||||
| 
 | ||||
|     def test_bom(self): | ||||
|         d = codecs.getincrementaldecoder("utf-8-sig")() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou