mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	check that the parser module can handle the new keyword syntax
This commit is contained in:
		
							parent
							
								
									bd7bda4345
								
							
						
					
					
						commit
						bd6a05fe81
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -66,6 +66,7 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
 | 
				
			||||||
        self.check_expr("foo(a, b, c, *args)")
 | 
					        self.check_expr("foo(a, b, c, *args)")
 | 
				
			||||||
        self.check_expr("foo(a, b, c, *args, **kw)")
 | 
					        self.check_expr("foo(a, b, c, *args, **kw)")
 | 
				
			||||||
        self.check_expr("foo(a, b, c, **kw)")
 | 
					        self.check_expr("foo(a, b, c, **kw)")
 | 
				
			||||||
 | 
					        self.check_expr("foo(a, *args, keyword=23)")
 | 
				
			||||||
        self.check_expr("foo + bar")
 | 
					        self.check_expr("foo + bar")
 | 
				
			||||||
        self.check_expr("foo - bar")
 | 
					        self.check_expr("foo - bar")
 | 
				
			||||||
        self.check_expr("foo * bar")
 | 
					        self.check_expr("foo * bar")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue