Skip to content

Commit

Permalink
SQ -> Tests: Shell: _read_until: Rewrite to no longer use sleep() and…
Browse files Browse the repository at this point in the history
… polling, preferring select() instead
  • Loading branch information
davidfstr committed Jan 9, 2024
1 parent d5838a3 commit f7a49d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crystal/tests/test_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ def _read_until(
if did_time_out:
# Look for an acceptable "stop suffix"
# Special case: '' is always an acceptable `stop_suffix`
if '' in stop_suffix_bytes_choices:
if '' in stop_suffix:
found_stop_suffix = ''
else:
# Read stream
Expand Down

0 comments on commit f7a49d9

Please sign in to comment.