We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de78e04 commit 01accd7Copy full SHA for 01accd7
1 file changed
tests/test_base.py
@@ -133,11 +133,9 @@ def test_lambda_in_REPL(): # noqa: N802
133
after = buffer.getvalue()
134
print(after) # noqa: T201
135
print('------------') # noqa: T201
136
- after = re.compile(r'(?:\x1B[@-_]|\x9B)[0-?]*[ -/]*[@-~]').sub('', after.lstrip(before))
137
- after = ''.join(ch for ch in after if ch >= ' ' or ch in '\n\r\t')
138
- print(after) # noqa: T201
139
- print('------------') # noqa: T201
140
- after = after.lstrip(before)
+ #after = re.compile(r'(?:\x1B[@-_]|\x9B)[0-?]*[ -/]*[@-~]').sub('', after.lstrip(before))
+ #after = ''.join(ch for ch in after if ch >= ' ' or ch in '\n\r\t')
+ after = after[len(before):]
141
142
143
after = after.splitlines()
0 commit comments