Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update a comment
  • Loading branch information
warsaw committed Oct 24, 2025
commit ac677cc22cbbd2ba1e01a56dcddc759c86df4c70
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/save_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

from .utils import print_warning

# Import termios to save and restore the tty. This is only available on
# Import termios to save and restore terminal echo. This is only available on
# Unix, and it's fine if the module can't be found.
try:
import termios

Check failure on line 15 in Lib/test/libregrtest/save_env.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (F401)

Lib/test/libregrtest/save_env.py:15:12: F401 `termios` imported but unused; consider using `importlib.util.find_spec` to test for availability
except ModuleNotFoundError:
pass
Comment thread
warsaw marked this conversation as resolved.

Expand Down
Loading