Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teststubtest: drop StubtestIntegration #9635

Merged
merged 1 commit into from
Oct 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions mypy/test/teststubtest.py
Original file line number Diff line number Diff line change
@@ -848,9 +848,3 @@ def test_config_file(self) -> None:
)
output = run_stubtest(stub=stub, runtime=runtime, options=[], config_file=config_file)
assert output == ""


class StubtestIntegration(unittest.TestCase):
def test_typeshed(self) -> None:
# check we don't crash while checking typeshed
test_stubs(parse_options(["--check-typeshed"]))
6 changes: 0 additions & 6 deletions runtests.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@
MYPYC_EXTERNAL = 'TestExternal'
MYPYC_COMMAND_LINE = 'TestCommandLine'
ERROR_STREAM = 'ErrorStreamSuite'
STUBTEST_INTEGRATION = 'StubtestIntegration'


ALL_NON_FAST = [
@@ -45,16 +44,12 @@
MYPYC_EXTERNAL,
MYPYC_COMMAND_LINE,
ERROR_STREAM,
STUBTEST_INTEGRATION,
]


# These must be enabled by explicitly including 'mypyc-extra' on the command line.
MYPYC_OPT_IN = [MYPYC_RUN, MYPYC_RUN_MULTI]

# These must be enabled by explicitly including 'stubtest' on the command line.
STUBTEST_OPT_IN = [STUBTEST_INTEGRATION]

# We split the pytest run into three parts to improve test
# parallelization. Each run should have tests that each take a roughly similar
# time to run.
@@ -82,7 +77,6 @@
# Mypyc tests that aren't run by default, since they are slow and rarely
# fail for commits that don't touch mypyc
'mypyc-extra': 'pytest -k "%s"' % ' or '.join(MYPYC_OPT_IN),
'stubtest': 'pytest -k "%s"' % ' or '.join(STUBTEST_OPT_IN),
}

# Stop run immediately if these commands fail