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
--- 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__)