Skip to content

Commit 4544c24

Browse files
committed
Ignore "imported but unused" linter warning on the import of termios
1 parent ac677cc commit 4544c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/libregrtest/save_env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Import termios to save and restore terminal echo. This is only available on
1313
# Unix, and it's fine if the module can't be found.
1414
try:
15-
import termios
15+
import termios # noqa: F401
1616
except ModuleNotFoundError:
1717
pass
1818

0 commit comments

Comments
 (0)