Skip to content

Commit

Permalink
Fix TypeError on YamlItem by setting max_depth on runtest
Browse files Browse the repository at this point in the history
  • Loading branch information
sandcha committed Nov 26, 2024
1 parent d04d7a9 commit 6a52fb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openfisca_core/tools/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ def runtest(self) -> None:
finally:
tracer = self.simulation.tracer
if verbose:
if max_depth is None:
max_depth = sys.maxsize # Print full tree
self.print_computation_log(tracer, aggregate, max_depth)
if performance_graph:
self.generate_performance_graph(tracer)
Expand Down

0 comments on commit 6a52fb2

Please sign in to comment.