mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-07-19 01:13:50 +00:00
This commit adds a new feature that enables infinite depth support for function call tracing in pysnooper. The test_infinite_depth_support test case has been added to verify the correct behavior of the feature. The test case covers the case of tracing a recursive function call with unlimited depth and checks the output against the expected values. The feature works by setting the depth parameter to float('inf') in the pysnooper.snoop function.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| factorial.py | ||
| test_depth_inf.py | ||