mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Merged revisions 82345 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r82345 | mark.dickinson | 2010-06-28 20:54:19 +0100 (Mon, 28 Jun 2010) | 1 line unparse.py: fix mispaced parentheses in chained comparisons ........
This commit is contained in:
		
							parent
							
								
									ae1000533a
								
							
						
					
					
						commit
						f5451e546a
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -53,6 +53,10 @@ def test_unary_parens(self):
 | 
			
		|||
        self.check_roundtrip("not True or False")
 | 
			
		||||
        self.check_roundtrip("True or not False")
 | 
			
		||||
 | 
			
		||||
    def test_chained_comparisons(self):
 | 
			
		||||
        self.check_roundtrip("1 < 4 <= 5")
 | 
			
		||||
        self.check_roundtrip("a is b is c is not d")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def test_main():
 | 
			
		||||
    test.support.run_unittest(UnparseTestCase)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue