# HG changeset patch # User Augie Fackler # Date 1541103181 14400 # Node ID 07b87ee2ea75aa5a061b71b017aae727c69253d6 # Parent 90517fad429366309ca2a40e63aadca6c509c611 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 diff -r 90517fad4293 -r 07b87ee2ea75 tests/test-wireproto-clientreactor.py --- 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__)