Skip to content

Commit 61e3a8d

Browse files
Евгений БлиновЕвгений Блинов
authored andcommitted
Add debug prints to test_lambda_in_REPL to aid in debugging
1 parent f6720a3 commit 61e3a8d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_base.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ def test_lambda_in_REPL(): # noqa: N802
130130
child.sendline("print(getsource(function), end='')")
131131
child.expect(">>> ")
132132

133-
after = buffer.getvalue().lstrip(before)
133+
after = buffer.getvalue()
134+
print(after) # noqa: T201
135+
print('------------') # noqa: T201
136+
after = after.lstrip(before)
134137
print(after) # noqa: T201
135138
print('------------') # noqa: T201
136139
after = after.splitlines()

0 commit comments

Comments
 (0)