mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	backout 3c9512d8ac0d
This commit is contained in:
		
							parent
							
								
									338502b307
								
							
						
					
					
						commit
						c352620c92
					
				
					 3 changed files with 1 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -4564,14 +4564,6 @@ order (MRO) for bases """
 | 
			
		|||
        self.assertRegex(repr(method),
 | 
			
		||||
            r"<bound method qualname of <object object at .*>>")
 | 
			
		||||
 | 
			
		||||
    def test_deleting_new_in_subclasses(self):
 | 
			
		||||
        class X:
 | 
			
		||||
            def __init__(self, a):
 | 
			
		||||
                pass
 | 
			
		||||
        X.__new__ = None
 | 
			
		||||
        del X.__new__
 | 
			
		||||
        X(1) # should work
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class DictProxyTests(unittest.TestCase):
 | 
			
		||||
    def setUp(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue