mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix one of the tests that fails on the "x86 OpenBSD trunk" buildbot,
due to that id() may return a long on a 32-bit box now. On a box that assigns addresses "with the sign bit set", id() always returns a long now.
This commit is contained in:
		
							parent
							
								
									88459359b1
								
							
						
					
					
						commit
						9bdc85f8bf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -61,7 +61,7 @@ def test_buffer_info(self): | |||
|         bi = a.buffer_info() | ||||
|         self.assert_(isinstance(bi, tuple)) | ||||
|         self.assertEqual(len(bi), 2) | ||||
|         self.assert_(isinstance(bi[0], int)) | ||||
|         self.assert_(isinstance(bi[0], (int, long))) | ||||
|         self.assert_(isinstance(bi[1], int)) | ||||
|         self.assertEqual(bi[1], len(a)) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Peters
						Tim Peters