[Erp5-report] r24772 - /erp5/trunk/products/ERP5Type/tests/runUnitTest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Dec 2 22:19:16 CET 2008


Author: jm
Date: Tue Dec  2 22:19:16 2008
New Revision: 24772

URL: http://svn.erp5.org?rev=24772&view=rev
Log:
Use IPython user preferences to set the color scheme.

Modified:
    erp5/trunk/products/ERP5Type/tests/runUnitTest.py

Modified: erp5/trunk/products/ERP5Type/tests/runUnitTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runUnitTest.py?rev=24772&r1=24771&r2=24772&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runUnitTest.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/runUnitTest.py [utf8] Tue Dec  2 22:19:16 2008
@@ -201,7 +201,7 @@
       # try ipython if available
       import IPython
       IPython.Shell.IPShell(argv=[])
-      p = IPython.Debugger.Pdb(color_scheme='Linux')
+      p = IPython.Debugger.Pdb(color_scheme=__IPYTHON__.rc.colors)
       p.reset()
       while tb.tb_next is not None:
         tb = tb.tb_next




More information about the Erp5-report mailing list