From: José Fonseca Date: Tue, 31 Mar 2009 16:23:48 +0000 (+0100) Subject: python/test: Limit tree depth. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71384f29f12ab599b4430802ec8e21056a4dd60f;p=mesa.git python/test: Limit tree depth. --- diff --git a/src/gallium/state_trackers/python/tests/base.py b/src/gallium/state_trackers/python/tests/base.py index 585fbba1272..6b2e702955f 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')