Mercurial > hg
changeset 25106:6f15114bdcc3
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.
author | Gilles Moris <gilles.moris@free.fr> |
---|---|
date | Fri, 15 May 2015 10:24:59 +0200 |
parents | 2f34746c27df |
children | 149cc7663ac8 |
files | tests/hghave.py tests/test-http.t |
diffstat | 2 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Fri May 15 22:38:24 2015 +0900 +++ b/tests/hghave.py Fri May 15 10:24:59 2015 +0200 @@ -281,10 +281,6 @@ 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:
--- a/tests/test-http.t Fri May 15 22:38:24 2015 +0900 +++ b/tests/test-http.t Fri May 15 10:24:59 2015 +0200 @@ -166,7 +166,6 @@ > getpass.getpass = newgetpass > EOF -#if python243 $ hg id http://localhost:$HGPORT2/ abort: http authorization required for http://localhost:$HGPORT2/ [255] @@ -180,7 +179,6 @@ 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 @@ 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 @@ "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)