google / mobly

E2E test framework for tests with complex environment requirements.
https://github.com/google/mobly
Apache License 2.0
647 stars 179 forks source link

Fix windows cbuild pytest pytype error #590

Closed winterfroststrom closed 5 years ago

winterfroststrom commented 5 years ago

~3 days ago, pytest released version 5.0, which apparently breaks our Windows cbuild with pytype errors http://go/gh/pytest-dev/pytest/releases/tag/5.0.0

This is probably because python 2 doesn't support type annotations, which the new release somehow changes the mock import to use or something. Considering that we still need to support python 2 for a while, don't move to the 5.0.0 release for now.

This change is Reviewable