Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 0 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ jobs:
- run: pip install -U git+git://github.com/python/mypy
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }}

mypy-test-suite:
name: Run the mypy test suite
# Ubuntu 20.04 doesn't have the Python 2 venv module.
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: ./tests/mypy_test_suite.py

pyright:
name: Run pyright against the stubs
runs-on: ubuntu-latest
Expand Down
14 changes: 0 additions & 14 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ tests typeshed with [mypy](https://github.com/python/mypy/)
[pytype](https://github.com/google/pytype/).
- `tests/pyright_test.py` tests typeshed with
[pyright](https://github.com/microsoft/pyright).
- `tests/mypy_test_suite.py` runs a subset of mypy's test suite using this version of
typeshed.
- `tests/check_consistent.py` checks certain files in typeshed remain
consistent with each other.
- `tests/stubtest_test.py` checks stubs against the objects at runtime.
Expand Down Expand Up @@ -53,18 +51,6 @@ but it uses the same pyright version and configuration as the CI.
(.venv3)$ python3 tests/pyright_test.py stdlib/sys.pyi # Check one file
```

## mypy\_test\_suite.py

This test requires Python 3.5 or higher; Python 3.6.1 or higher is recommended.
Run using:
```
(.venv3)$ python3 tests/mypy_test_suite.py
```

This test runs mypy's own test suite using the typeshed code in your repo. This
will sometimes catch issues with incorrectly typed stubs, but is much slower
than the other tests.

## check\_consistent.py

Run using:
Expand Down
31 changes: 0 additions & 31 deletions tests/mypy_test_suite.py

This file was deleted.