Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3e0405

Browse files
authored
README.md: update for the times (#4757)
Fixes #4754 Co-authored-by: hauntsaninja <>
1 parent ca45cb2 commit c3e0405

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,17 @@ requests. If you have questions related to contributing, drop by the [typing Git
9292

9393
## Running the tests
9494

95-
The tests are automatically run by Travis CI on every PR and push to
96-
the repo. Note that it can be useful to enable Travis CI on your own fork of
97-
typeshed.
95+
The tests are automatically run on every PR and push to
96+
the repo.
9897

9998
There are several tests:
10099
- `tests/mypy_test.py`
101-
runs tests against [mypy](https://github.com/python/mypy/)
102-
- `tests/pytype_test.py` runs tests against
100+
tests typeshed with [mypy](https://github.com/python/mypy/)
101+
- `tests/pytype_test.py` tests typeshed with
103102
[pytype](https://github.com/google/pytype/).
104-
- `tests/mypy_selftest.py` checks mypy's code base using this version of
103+
- `tests/mypy_self_check.py` checks mypy's code base using this version of
105104
typeshed.
106-
- `tests/mypy_test_suite.py` runs mypy's test suite using this version of
105+
- `tests/mypy_test_suite.py` runs a subset of mypy's test suite using this version of
107106
typeshed.
108107
- `tests/check_consistent.py` checks certain files in typeshed remain
109108
consistent with each other.
@@ -153,10 +152,10 @@ Run using: `(.venv3)$ python3 tests/pytype_test.py`
153152

154153
This test works similarly to `mypy_test.py`, except it uses `pytype`.
155154

156-
### mypy_selftest.py
155+
### mypy_self_check.py
157156

158157
This test requires Python 3.6 or higher; Python 3.6.1 or higher is recommended.
159-
Run using: `(.venv3)$ python3 tests/mypy_selftest.py`
158+
Run using: `(.venv3)$ python3 tests/mypy_self_check.py`
160159

161160
This test checks mypy's code base using mypy and typeshed code in this repo.
162161

@@ -181,7 +180,7 @@ Run using `(.venv3)$ python3 tests/stubtest_test.py`
181180
This test compares the stdlib stubs against the objects at runtime. Because of
182181
this, the output depends on which version of Python and on what kind of system
183182
it is run.
184-
Thus the easiest way to run this test is by enabling Travis CI on your fork;
183+
Thus the easiest way to run this test is via Github Actions on your fork;
185184
if you run it locally, it'll likely complain about system-specific
186185
differences (in e.g, `socket`) that the type system cannot capture.
187186
If you need a specific version of Python to repro a CI failure,

0 commit comments

Comments
 (0)