Exemplo n.º 1
0
 def _exc_info_to_string(self, err, test=None):
     # 2.3/2.4 -- 2.4 passes test, 2.3 does not
     try:
         return _TextTestResult._exc_info_to_string(self, err, test)
     except TypeError:
         # 2.3: does not take test arg
         return _TextTestResult._exc_info_to_string(self, err)
Exemplo n.º 2
0
 def _exc_info_to_string(self, err, test=None):
     # 2.3/2.4 -- 2.4 passes test, 2.3 does not
     try:
         return _TextTestResult._exc_info_to_string(self, err, test)
     except TypeError:
         # 2.3: does not take test arg
         return _TextTestResult._exc_info_to_string(self, err)
Exemplo n.º 3
0
 def _exc_info_to_string(self, err, test):
     try:
         return _TextTestResult._exc_info_to_string(self, err, test)
     except TypeError:
         # 2.3: does not take test arg
         return _TextTestResult._exc_info_to_string(self, err)