Mercurial > public > mercurial-scm > hg
changeset 52340:72bcc41f5c3b
tests: drop unconstrained `py38` conditionals
There are a few remaining uses in `test-archive.t` that are combined with `py39`
to test for exactly py38 (instead of greater than or equal to).
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 30 Nov 2024 17:13:54 -0500 |
parents | e39cfc5adcfe |
children | c2814b698df8 |
files | tests/test-archive.t tests/test-run-tests.t |
diffstat | 2 files changed, 5 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-archive.t Sat Nov 30 17:08:41 2024 -0500 +++ b/tests/test-archive.t Sat Nov 30 17:13:54 2024 -0500 @@ -131,7 +131,6 @@ server: testing stub value transfer-encoding: chunked - body: size=408, sha1=8fa06531bddecc365a9f5edb0f88b65974bfe505 (no-py38 !) body: size=506, sha1=70926a04cb8887d0bcccf5380488100a10222def (py38 no-py39 !) body: size=505, sha1=eb823c293bedff0df4070b854e2c5cbb06d6ec62 (py39 !) % tar.bz2 and zip disallowed should both give 403 @@ -161,7 +160,6 @@ server: testing stub value transfer-encoding: chunked - body: size=426, sha1=8d87f5aba6e14f1bfea6c232985982c278b2fb0b (no-py38 !) body: size=506, sha1=1bd1f8e8d3701704bd4385038bd9c09b81c77f4e (py38 no-py39 !) body: size=503, sha1=2d8ce8bb3816603b9683a1804a5a02c11224cb01 (py39 !) % zip and tar.gz disallowed should both give 403 @@ -222,7 +220,6 @@ server: testing stub value transfer-encoding: chunked - body: size=408, sha1=8fa06531bddecc365a9f5edb0f88b65974bfe505 (no-py38 !) body: size=506, sha1=70926a04cb8887d0bcccf5380488100a10222def (py38 no-py39 !) body: size=505, sha1=eb823c293bedff0df4070b854e2c5cbb06d6ec62 (py39 !) % tar.bz2 and zip disallowed should both give 403 @@ -252,7 +249,6 @@ server: testing stub value transfer-encoding: chunked - body: size=426, sha1=8d87f5aba6e14f1bfea6c232985982c278b2fb0b (no-py38 !) body: size=506, sha1=1bd1f8e8d3701704bd4385038bd9c09b81c77f4e (py38 no-py39 !) body: size=503, sha1=2d8ce8bb3816603b9683a1804a5a02c11224cb01 (py39 !) % zip and tar.gz disallowed should both give 403
--- a/tests/test-run-tests.t Sat Nov 30 17:08:41 2024 -0500 +++ b/tests/test-run-tests.t Sat Nov 30 17:13:54 2024 -0500 @@ -408,21 +408,16 @@ <testsuite errors="0" failures="2" name="run-tests" skipped="0" tests="3"> <testcase name="test-success.t" time="*"/> (glob) <testcase name="test-failure-unicode.t" time="*"> (glob) - <failure message="output changed" type="output-mismatch"><![CDATA[--- $TESTTMP/test-failure-unicode.t (py38 !) - <failure message="output changed" type="output-mismatch"> (no-py38 !) - <![CDATA[--- $TESTTMP/test-failure-unicode.t (no-py38 !) + <failure message="output changed" type="output-mismatch"><![CDATA[--- $TESTTMP/test-failure-unicode.t +++ $TESTTMP/test-failure-unicode.t.err @@ -1,2 +1,2 @@ $ echo babar\xce\xb1 (esc) - l\xce\xb5\xce\xb5t (esc) + babar\xce\xb1 (esc) - ]]></failure> (py38 !) - ]]> </failure> (no-py38 !) + ]]></failure> </testcase> <testcase name="test-failure.t" time="*"> (glob) - <failure message="output changed" type="output-mismatch"><![CDATA[--- $TESTTMP/test-failure.t (py38 !) - <failure message="output changed" type="output-mismatch"> (no-py38 !) - <![CDATA[--- $TESTTMP/test-failure.t (no-py38 !) + <failure message="output changed" type="output-mismatch"><![CDATA[--- $TESTTMP/test-failure.t +++ $TESTTMP/test-failure.t.err @@ -1,5 +1,5 @@ $ echo babar @@ -431,8 +426,7 @@ This is a noop statement so that this test is still more bytes than success. pad pad pad pad............................................................ - ]]></failure> (py38 !) - ]]> </failure> (no-py38 !) + ]]></failure> </testcase> </testsuite> @@ -1112,9 +1106,7 @@ <testsuite errors="0" failures="0" name="run-tests" skipped="2" tests="2"> <testcase name="test-success.t" time="*"/> (glob) <testcase name="test-skip.t"> - <skipped><![CDATA[missing feature: nail clipper]]></skipped> (py38 !) - <skipped> (no-py38 !) - <![CDATA[missing feature: nail clipper]]> </skipped> (no-py38 !) + <skipped><![CDATA[missing feature: nail clipper]]></skipped> </testcase> </testsuite>