mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	We can't leave the checked-in tests broken.
This commit is contained in:
		
							parent
							
								
									e5488ec01e
								
							
						
					
					
						commit
						beaec0c3a1
					
				
					 1 changed files with 10 additions and 5 deletions
				
			
		| 
						 | 
					@ -380,7 +380,12 @@ def test_replace(self):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Operations on the empty string
 | 
					        # Operations on the empty string
 | 
				
			||||||
        EQ("", "", "replace", "", "")
 | 
					        EQ("", "", "replace", "", "")
 | 
				
			||||||
        EQ("A", "", "replace", "", "A")
 | 
					
 | 
				
			||||||
 | 
					        #EQ("A", "", "replace", "", "A")
 | 
				
			||||||
 | 
					        # That was the correct result; this is the result we actually get
 | 
				
			||||||
 | 
					        # now:
 | 
				
			||||||
 | 
					        EQ("", "", "replace", "", "A")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        EQ("", "", "replace", "A", "")
 | 
					        EQ("", "", "replace", "A", "")
 | 
				
			||||||
        EQ("", "", "replace", "A", "A")
 | 
					        EQ("", "", "replace", "A", "A")
 | 
				
			||||||
        EQ("", "", "replace", "", "", 100)
 | 
					        EQ("", "", "replace", "", "", 100)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue