Skip to content

Commit 9795bae

Browse files
authored
Remove mypy_test_suite (#5543)
Closes: #5540
1 parent dae5817 commit 9795bae

File tree

3 files changed

+0
-54
lines changed

3 files changed

+0
-54
lines changed

.github/workflows/tests.yml

-9
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,6 @@ jobs:
7272
- run: pip install -U git+git://github.com/python/mypy
7373
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }}
7474

75-
mypy-test-suite:
76-
name: Run the mypy test suite
77-
# Ubuntu 20.04 doesn't have the Python 2 venv module.
78-
runs-on: ubuntu-18.04
79-
steps:
80-
- uses: actions/checkout@v2
81-
- uses: actions/setup-python@v2
82-
- run: ./tests/mypy_test_suite.py
83-
8475
pyright:
8576
name: Run pyright against the stubs
8677
runs-on: ubuntu-latest

tests/README.md

-14
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ tests typeshed with [mypy](https://github.com/python/mypy/)
55
[pytype](https://github.com/google/pytype/).
66
- `tests/pyright_test.py` tests typeshed with
77
[pyright](https://github.com/microsoft/pyright).
8-
- `tests/mypy_test_suite.py` runs a subset of mypy's test suite using this version of
9-
typeshed.
108
- `tests/check_consistent.py` checks certain files in typeshed remain
119
consistent with each other.
1210
- `tests/stubtest_test.py` checks stubs against the objects at runtime.
@@ -53,18 +51,6 @@ but it uses the same pyright version and configuration as the CI.
5351
(.venv3)$ python3 tests/pyright_test.py stdlib/sys.pyi # Check one file
5452
```
5553

56-
## mypy\_test\_suite.py
57-
58-
This test requires Python 3.5 or higher; Python 3.6.1 or higher is recommended.
59-
Run using:
60-
```
61-
(.venv3)$ python3 tests/mypy_test_suite.py
62-
```
63-
64-
This test runs mypy's own test suite using the typeshed code in your repo. This
65-
will sometimes catch issues with incorrectly typed stubs, but is much slower
66-
than the other tests.
67-
6854
## check\_consistent.py
6955

7056
Run using:

tests/mypy_test_suite.py

-31
This file was deleted.

0 commit comments

Comments
 (0)