# HG changeset patch # User Gilles Moris # Date 2015-05-15 08:24:59 # Node ID 6f15114bdcc3be338d9a77e291cfd03e7a7593ff # Parent 2f34746c27dfd9d4ff51c1f0081526438ded0c04 test-http: drop compatibility check on Python >= 2.4.3 This is obsolete now that Python < 2.6 is no more supported. This is thus a backout of c499fff76440. diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -281,10 +281,6 @@ def has_pygments(): except ImportError: return False -@check("python243", "python >= 2.4.3") -def has_python243(): - return sys.version_info >= (2, 4, 3) - @check("json", "some json module available") def has_json(): try: diff --git a/tests/test-http.t b/tests/test-http.t --- a/tests/test-http.t +++ b/tests/test-http.t @@ -166,7 +166,6 @@ test http authentication > getpass.getpass = newgetpass > EOF -#if python243 $ hg id http://localhost:$HGPORT2/ abort: http authorization required for http://localhost:$HGPORT2/ [255] @@ -180,7 +179,6 @@ test http authentication password: 5fed3813f7f5 $ hg id http://user:pass@localhost:$HGPORT2/ 5fed3813f7f5 -#endif $ echo '[auth]' >> .hg/hgrc $ echo 'l.schemes=http' >> .hg/hgrc $ echo 'l.prefix=lo' >> .hg/hgrc @@ -192,7 +190,6 @@ test http authentication 5fed3813f7f5 $ hg id http://user@localhost:$HGPORT2/ 5fed3813f7f5 -#if python243 $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1 streaming all changes 7 files to transfer, 916 bytes of data @@ -291,7 +288,6 @@ test http authentication "POST /?cmd=unbundle HTTP/1.1" 200 - x-hgarg-1:heads=686173686564+5eb5abfefeea63c80dd7553bcc3783f37e0c5524 "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases -#endif $ cd .. clone of serve with repo in root and unserved subrepo (issue2970)