diff --git a/openfisca_core/tools/test_runner.py b/openfisca_core/tools/test_runner.py index 1e4917155..d5dc708a3 100644 --- a/openfisca_core/tools/test_runner.py +++ b/openfisca_core/tools/test_runner.py @@ -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)