mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 18:28:49 +00:00 
			
		
		
		
	 94c95d42a3
			
		
	
	
		94c95d42a3
		
			
		
	
	
	
	
		
			
			Add assertSyntaxError() which run tests with an additional docstring and without docstring, and checks for the error message.
		
			
				
	
	
		
			3 lines
		
	
	
	
		
			95 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
	
		
			95 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import absolute_import
 | |
| "spam, bar, blah"
 | |
| from __future__ import print_function
 |