mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Fix regression in features/steps/core.py
This commit is contained in:
parent
09802cc088
commit
8c9b040586
1 changed files with 0 additions and 2 deletions
|
@ -218,8 +218,6 @@ def check_output_time_inline(context, text):
|
||||||
def check_output_inline(context, text=None):
|
def check_output_inline(context, text=None):
|
||||||
text = text or context.text
|
text = text or context.text
|
||||||
out = process_ANSI_escapes(context.stdout_capture.getvalue())
|
out = process_ANSI_escapes(context.stdout_capture.getvalue())
|
||||||
if isinstance(out, bytes):
|
|
||||||
out = out.decode('utf-8')
|
|
||||||
assert text in out, text
|
assert text in out, text
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue