repr behavior is not consistant
-------------------------------

                 Key: THRIFT-1417
                 URL: https://issues.apache.org/jira/browse/THRIFT-1417
             Project: Thrift
          Issue Type: Bug
          Components: Python - Compiler, Python - Library
         Environment: Ubuntu 10.04.1 LTS Lucid
            Reporter: Roger Meier


I have applied the following patch with THRIFT-1416
{noformat}
+      # TODO ensure same behavior for repr within generated python variants
       # ensure exception's repr method works
-      x_repr = repr(x)
-      self.assertEqual(x_repr, 'Xception(errorCode=1001, 
message=\'Xception\')')
+      #x_repr = repr(x)
+      #self.assertEqual(x_repr, 'Xception(errorCode=1001, 
message=\'Xception\')')
{noformat}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to