Skip to content
Prev Previous commit
Next Next commit
Skip if termios unavailable
  • Loading branch information
ambv committed Jul 18, 2025
commit 4b7076772bca077165ca77b69bc5692b92aca785
9 changes: 9 additions & 0 deletions Lib/test/test_pyrepl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import os
from test.support import load_package_tests
import unittest


try:
import termios
except ImportError:
raise unittest.SkipTest("termios required")
else:
del termios


def load_tests(*args):
Expand Down
Loading