# HG changeset patch # User Augie Fackler # Date 2019-01-06 20:25:10 # Node ID 685cf59a134f3a75e40aad312ac4b9cdf7ac4c00 # Parent 8d03d131f7d3b4504e3f7302b38f4bef5641d817 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 diff --git a/tests/test-wireproto-clientreactor.py b/tests/test-wireproto-clientreactor.py --- a/tests/test-wireproto-clientreactor.py +++ b/tests/test-wireproto-clientreactor.py @@ -601,7 +601,7 @@ class StreamSettingsTests(unittest.TestC 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.