Patchwork D5502: tests: correct version check in clientreactor test

login
register
mail settings
Submitter phabricator
Date Jan. 7, 2019, 10:57 a.m.
Message ID <ec5dfd006915759bd0583a8ee99de39a@localhost.localdomain>
Download mbox | patch
Permalink /patch/37521/
State Not Applicable
Headers show

Comments

phabricator - Jan. 7, 2019, 10:57 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG685cf59a134f: tests: correct version check in clientreactor test (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5502?vs=13024&id=13043

REVISION DETAIL
  https://phab.mercurial-scm.org/D5502

AFFECTED FILES
  tests/test-wireproto-clientreactor.py

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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 @@ 
         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.