mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fix pytest, it should work with Python 2.7.x and 3.x
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
		
							parent
							
								
									a0a505e1b8
								
							
						
					
					
						commit
						3cc9d57438
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2486,8 +2486,8 @@ class RatNumRef(ArithRef):
 | 
			
		|||
        10000000000
 | 
			
		||||
        >>> v + 1
 | 
			
		||||
        10000000000 + 1
 | 
			
		||||
        >>> v.numerator_as_long() + 1
 | 
			
		||||
        10000000001
 | 
			
		||||
        >>> v.numerator_as_long() + 1 == 10000000001
 | 
			
		||||
        True
 | 
			
		||||
        """
 | 
			
		||||
        return self.numerator().as_long()
 | 
			
		||||
        
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue