Module: Mesa
Branch: master
Commit: 71384f29f12ab599b4430802ec8e21056a4dd60f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=71384f29f12ab599b4430802ec8e21056a4dd60f

Author: José Fonseca <[email protected]>
Date:   Tue Mar 31 17:23:48 2009 +0100

python/test: Limit tree depth.

---

 src/gallium/state_trackers/python/tests/base.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/python/tests/base.py 
b/src/gallium/state_trackers/python/tests/base.py
index 585fbba..6b2e702 100644
--- a/src/gallium/state_trackers/python/tests/base.py
+++ b/src/gallium/state_trackers/python/tests/base.py
@@ -329,6 +329,6 @@ class TestResult:
 
         tree = orngTree.TreeLearner(data, sameMajorityPruning=1, mForPruning=2)
 
-        orngTree.printTxt(tree)
+        orngTree.printTxt(tree, maxDepth=4)
 
         orngTree.printDot(tree, fileName=name+'.dot', nodeShape='ellipse', 
leafShape='box')

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to