changeset 40482:07b87ee2ea75

tests: skip wireproto clientreactor tests on Python 3.6.0-3.6.3 inclusive See comment next to the if statement for sad details. Differential Revision: https://phab.mercurial-scm.org/D5207
author Augie Fackler <augie@google.com>
date Thu, 01 Nov 2018 16:13:01 -0400
parents 90517fad4293
children 4e6ffcb5b9fc
files tests/test-wireproto-clientreactor.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-wireproto-clientreactor.py	Thu Nov 01 15:58:01 2018 -0400
+++ b/tests/test-wireproto-clientreactor.py	Thu Nov 01 16:13:01 2018 -0400
@@ -1,5 +1,6 @@
 from __future__ import absolute_import
 
+import sys
 import unittest
 import zlib
 
@@ -600,5 +601,10 @@
         self.assertEqual(meta[b'data'], response2)
 
 if __name__ == '__main__':
+    if (3, 6, 0) <= sys.version_info <= (3, 6, 3):
+        # Python 3.6.0 through 3.6.3 inclusive shipped with
+        # https://bugs.python.org/issue31825 and we can't run these
+        # tests on those specific versions of Python. Sigh.
+        sys.exit(80)
     import silenttestrunner
     silenttestrunner.main(__name__)