Merge pull request #590 from google/winterfroststrom-patch-1

Fix windows cbuild pytest pytype error
diff --git a/setup.py b/setup.py
index 3b065c8..31ecca0 100755
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,8 @@
         scripts=['tools/sl4a_shell.py', 'tools/snippet_shell.py'],
         tests_require=[
             'mock',
-            'pytest',
+            # Needed for supporting Python 2 because this release stopped supporting Python 2.
+            'pytest<5.0.0',
             'pytz',
         ],
         install_requires=install_requires,