Commits

osimons  committed d933d30

[svn r12167] XmlRpcPlugin: Print more debug information when creating functional test environment fails.

  • Participants
  • Parent commits f895521
  • Branches xmlrpcplugin

Comments (0)

Files changed (1)

File trunk/tracrpc/tests/__init__.py

         return suite
 
 except Exception, e:
-    print e
+    import sys, traceback
+    traceback.print_exc(file=sys.stdout)
     print "Trac test infrastructure not available."
     print "Install Trac as 'python setup.py develop' (run Trac from source).\n"
     test_suite = unittest.TestSuite() # return empty suite