changeset 41122:685cf59a134f

tests: correct version check in clientreactor test Experimentally, `(3, 6, 3)` is less than `sys.version_info` on an actual Python 3.6.3 installation. Let's just check `< (3, 6, 4)` instead of `<= (3, 6, 3)` so we stop seeing this bogus failure. Differential Revision: https://phab.mercurial-scm.org/D5502
author Augie Fackler <raf@durin42.com>
date Sun, 06 Jan 2019 15:25:10 -0500
parents 8d03d131f7d3
children 79f8f032c706
files tests/test-wireproto-clientreactor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-wireproto-clientreactor.py	Sun Jan 06 15:17:03 2019 -0500
+++ b/tests/test-wireproto-clientreactor.py	Sun Jan 06 15:25:10 2019 -0500
@@ -601,7 +601,7 @@
         self.assertEqual(meta[b'data'], response2)
 
 if __name__ == '__main__':
-    if (3, 6, 0) <= sys.version_info <= (3, 6, 3):
+    if (3, 6, 0) <= sys.version_info < (3, 6, 4):
         # 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.