mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Fix another mock import
This commit is contained in:
		
							parent
							
								
									0ca9acd1dd
								
							
						
					
					
						commit
						83a16856ee
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -32,7 +32,7 @@ def test_all(self):
 | 
			
		|||
        # if __all__ is badly defined then import * will raise an error
 | 
			
		||||
        # We have to exec it because you can't import * inside a method
 | 
			
		||||
        # in Python 3
 | 
			
		||||
        exec("from mock import *")
 | 
			
		||||
        exec("from unittest.mock import *")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def test_constructor(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue