From 8d4a4f9e74602ad404647ac6d875ecba36e26f8b Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 25 Oct 2020 13:31:43 -0700 Subject: [PATCH] mypy_selftest: rename to mypy_self_check (#4712) This better disambiguates it from mypy_test_suite and is more inline with how mypy refers to it internally. Co-authored-by: hauntsaninja <> --- .github/workflows/tests.yml | 6 +++--- tests/{mypy_selftest.py => mypy_self_check.py} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename tests/{mypy_selftest.py => mypy_self_check.py} (97%) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08b90ca84..203e49fd6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,13 +67,13 @@ jobs: - run: pip install -U git+git://github.com/python/mypy - run: ./tests/mypy_test.py --platform=${{ matrix.platform }} - mypy-self-test: - name: Test mypy source with itself + mypy-self-check: + name: Check mypy source with itself runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - - run: ./tests/mypy_selftest.py + - run: ./tests/mypy_self_check.py mypy-test-suite: name: Run the mypy test suite diff --git a/tests/mypy_selftest.py b/tests/mypy_self_check.py similarity index 97% rename from tests/mypy_selftest.py rename to tests/mypy_self_check.py index 38efbf4bf..8d8c77924 100755 --- a/tests/mypy_selftest.py +++ b/tests/mypy_self_check.py @@ -13,7 +13,7 @@ if __name__ == "__main__": with tempfile.TemporaryDirectory() as tempdir: dirpath = Path(tempdir) subprocess.run( - ["git", "clone", "--depth", "1", "git://github.com/python/mypy", str(dirpath)], + ["git", "clone", "--depth", "1", "git://github.com/python/mypy", dirpath], check=True, ) try: