[3.14] gh-138801: re-enable pyrepl tests on Windows (GH-138802) (GH-138815)

gh-138801: re-enable `pyrepl` tests on Windows (GH-138802)
(cherry picked from commit 4f3cab96c1)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-09-15 16:42:36 +02:00 committed by GitHub
parent 80e59a8d7e
commit 19a8670d7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,14 +1,10 @@
import os
from test.support import load_package_tests
import unittest
import sys
from test.support import import_helper, load_package_tests
try:
import termios
except ImportError:
raise unittest.SkipTest("termios required")
else:
del termios
if sys.platform != "win32":
import_helper.import_module("termios")
def load_tests(*args):