comparison tests/test-wireproto-clientreactor.py @ 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 e67522413ca8
children 685cf59a134f
comparison
equal deleted inserted replaced
40481:90517fad4293 40482:07b87ee2ea75
1 from __future__ import absolute_import 1 from __future__ import absolute_import
2 2
3 import sys
3 import unittest 4 import unittest
4 import zlib 5 import zlib
5 6
6 from mercurial import ( 7 from mercurial import (
7 error, 8 error,
598 request2.requestid, outstream.flush()))) 599 request2.requestid, outstream.flush())))
599 self.assertEqual(action, b'responsedata') 600 self.assertEqual(action, b'responsedata')
600 self.assertEqual(meta[b'data'], response2) 601 self.assertEqual(meta[b'data'], response2)
601 602
602 if __name__ == '__main__': 603 if __name__ == '__main__':
604 if (3, 6, 0) <= sys.version_info <= (3, 6, 3):
605 # Python 3.6.0 through 3.6.3 inclusive shipped with
606 # https://bugs.python.org/issue31825 and we can't run these
607 # tests on those specific versions of Python. Sigh.
608 sys.exit(80)
603 import silenttestrunner 609 import silenttestrunner
604 silenttestrunner.main(__name__) 610 silenttestrunner.main(__name__)