summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyrepl.py
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2024-05-06 22:08:17 (GMT)
committerGitHub <noreply@github.com>2024-05-06 22:08:17 (GMT)
commit9fd33af5ac57f649971ffd8091bd898a96f85b55 (patch)
tree16f49f7b5fc8df8b90335e4b34ce64bbf45bbff8 /Lib/test/test_pyrepl.py
parent2ba2c142a615abbd8138d253edfe02426c386961 (diff)
downloadcpython-9fd33af5ac57f649971ffd8091bd898a96f85b55.zip
cpython-9fd33af5ac57f649971ffd8091bd898a96f85b55.tar.gz
cpython-9fd33af5ac57f649971ffd8091bd898a96f85b55.tar.bz2
Test premium Mac builders (#118672)
Diffstat (limited to 'Lib/test/test_pyrepl.py')
-rw-r--r--Lib/test/test_pyrepl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_pyrepl.py b/Lib/test/test_pyrepl.py
index 2b217ab..3df76e0 100644
--- a/Lib/test/test_pyrepl.py
+++ b/Lib/test/test_pyrepl.py
@@ -15,9 +15,9 @@ from test.support.import_helper import import_module
# Optionally test pyrepl. This currently requires that the
# 'curses' resource be given on the regrtest command line using the -u
# option. Additionally, we need to attempt to import curses and readline.
-requires('curses')
-curses = import_module('curses')
-readline = import_module('readline')
+requires("curses")
+curses = import_module("curses")
+readline = import_module("readline")
from _pyrepl.console import Console, Event
from _pyrepl.readline import ReadlineAlikeReader, ReadlineConfig