mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-07-28 05:24:03 +00:00
Show source path, especially when multiple files
This commit is contained in:
parent
7392765ada
commit
297b3cd8d7
13 changed files with 161 additions and 20 deletions
|
|
@ -14,8 +14,9 @@ def mul(a, b):
|
|||
|
||||
def main():
|
||||
factorial(4)
|
||||
|
||||
|
||||
expected_output = '''
|
||||
Source path:... Whatever
|
||||
Starting var:.. x = 4
|
||||
20:28:17.875295 call 5 def factorial(x):
|
||||
20:28:17.875509 line 6 if x <= 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue