Skip to content

Commit d7c0bb5

Browse files
authored
runtests: Remove unused tasks and targets (#13519)
1 parent fd6760c commit d7c0bb5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

runtests.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
# Slow test suites
1010
CMDLINE = "PythonCmdline"
11-
SAMPLES = "SamplesSuite"
12-
TYPESHED = "TypeshedSuite"
1311
PEP561 = "PEP561Suite"
1412
EVALUATION = "PythonEvaluation"
1513
DAEMON = "testdaemon"
@@ -24,8 +22,6 @@
2422

2523
ALL_NON_FAST = [
2624
CMDLINE,
27-
SAMPLES,
28-
TYPESHED,
2925
PEP561,
3026
EVALUATION,
3127
DAEMON,
@@ -71,12 +67,10 @@
7167
"pytest",
7268
"-q",
7369
"-k",
74-
" or ".join([SAMPLES, TYPESHED, DAEMON, MYPYC_EXTERNAL, MYPYC_COMMAND_LINE, ERROR_STREAM]),
70+
" or ".join([DAEMON, MYPYC_EXTERNAL, MYPYC_COMMAND_LINE, ERROR_STREAM]),
7571
],
7672
# Test cases that might take minutes to run
7773
"pytest-extra": ["pytest", "-q", "-k", " or ".join(PYTEST_OPT_IN)],
78-
# Test cases to run in typeshed CI
79-
"typeshed-ci": ["pytest", "-q", "-k", " or ".join([CMDLINE, EVALUATION, SAMPLES, TYPESHED])],
8074
# Mypyc tests that aren't run by default, since they are slow and rarely
8175
# fail for commits that don't touch mypyc
8276
"mypyc-extra": ["pytest", "-q", "-k", " or ".join(MYPYC_OPT_IN)],
@@ -85,7 +79,7 @@
8579
# Stop run immediately if these commands fail
8680
FAST_FAIL = ["self", "lint"]
8781

88-
EXTRA_COMMANDS = ("pytest-extra", "mypyc-extra", "typeshed-ci")
82+
EXTRA_COMMANDS = ("pytest-extra", "mypyc-extra")
8983
DEFAULT_COMMANDS = [cmd for cmd in cmds if cmd not in EXTRA_COMMANDS]
9084

9185
assert all(cmd in cmds for cmd in FAST_FAIL)

0 commit comments

Comments
 (0)