Fix and re-enable pytype_test (#4975)

For now, the test requires changes that have been merged into the pytype master branch but not yet released. I'll update requirements-tests-py3.txt again once I've cut a new release (hopefully later this week).

* Fix pytype_test.
* Re-enable pytype_test.
* Remove continue-on-error from pytype_test.
* Temporarily install pytype from its master branch, as the code to
  support the new directory structure hasn't been released yet.
* Set TYPESHED_HOME before using pytype.pytd.Typeshed().
This commit is contained in:
Rebecca Chen
2021-01-27 14:00:27 -08:00
committed by GitHub
parent 16ae4c6120
commit ce24720a1a
3 changed files with 30 additions and 51 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ flake8==3.8.4
flake8-bugbear==20.1.4
flake8-pyi==20.10.0
isort[pyproject]==5.5.3
pytype>=2020.09.16
git+https://github.com/google/pytype.git@master