mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Some more test now pass.
This commit is contained in:
		
							parent
							
								
									d81206d152
								
							
						
					
					
						commit
						75d26ccd7a
					
				
					 3 changed files with 3 additions and 4 deletions
				
			
		
							
								
								
									
										3
									
								
								BROKEN
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								BROKEN
									
										
									
									
									
								
							|  | @ -1,4 +1,3 @@ | ||||||
|     test_bsddb test_bsddb3 test_compile test_dumbdbm |     test_bsddb test_bsddb3 test_compile test_dumbdbm | ||||||
|     test_importhooks test_iter test_iterlen test_minidom test_mutants |     test_importhooks test_iter test_iterlen test_minidom test_mutants | ||||||
|     test_os test_pickletools test_plistlib test_richcmp test_shelve |     test_os test_plistlib | ||||||
|     test_unittest test_userdict |  | ||||||
|  |  | ||||||
|  | @ -117,7 +117,7 @@ def values(self): | ||||||
|     def items(self): |     def items(self): | ||||||
|         return list(self.iteritems()) |         return list(self.iteritems()) | ||||||
|     def clear(self): |     def clear(self): | ||||||
|         for key in self.keys(): |         for key in list(self.iterkeys()): | ||||||
|             del self[key] |             del self[key] | ||||||
|     def setdefault(self, key, default=None): |     def setdefault(self, key, default=None): | ||||||
|         try: |         try: | ||||||
|  |  | ||||||
|  | @ -265,7 +265,7 @@ def test_dicts(self): | ||||||
|         imag1a = {} |         imag1a = {} | ||||||
|         for i in range(50): |         for i in range(50): | ||||||
|             imag1a[random.randrange(100)*1j] = random.randrange(100)*1j |             imag1a[random.randrange(100)*1j] = random.randrange(100)*1j | ||||||
|         items = imag1a.items() |         items = list(imag1a.items()) | ||||||
|         random.shuffle(items) |         random.shuffle(items) | ||||||
|         imag1b = {} |         imag1b = {} | ||||||
|         for k, v in items: |         for k, v in items: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum