@@ -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
9998There 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
105104typeshed.
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
107106typeshed.
108107- ` tests/check_consistent.py ` checks certain files in typeshed remain
109108consistent with each other.
@@ -153,10 +152,10 @@ Run using: `(.venv3)$ python3 tests/pytype_test.py`
153152
154153This test works similarly to ` mypy_test.py ` , except it uses ` pytype ` .
155154
156- ### mypy_selftest .py
155+ ### mypy_self_check .py
157156
158157This 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
161160This 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`
181180This test compares the stdlib stubs against the objects at runtime. Because of
182181this, the output depends on which version of Python and on what kind of system
183182it 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;
185184if you run it locally, it'll likely complain about system-specific
186185differences (in e.g, ` socket ` ) that the type system cannot capture.
187186If you need a specific version of Python to repro a CI failure,
0 commit comments