tests: drop remaining `py37` conditionals
We seem to be leaving most unused predicates around (c.f. `hg06` ... `hg08`, and
`py36`), so I'm leaving this defined for 3rd parties that might use it.
--- a/tests/test-byteify-strings.t Sat Nov 30 16:54:02 2024 -0500
+++ b/tests/test-byteify-strings.t Sat Nov 30 17:08:41 2024 -0500
@@ -1,5 +1,3 @@
-#require py37
-
$ byteify_strings () {
> "$PYTHON" "$TESTDIR/../contrib/byteify-strings.py" "$@"
> }
--- a/tests/test-chg.t Sat Nov 30 16:54:02 2024 -0500
+++ b/tests/test-chg.t Sat Nov 30 17:08:41 2024 -0500
@@ -470,8 +470,7 @@
(hg keeps python's modified LC_CTYPE, chg doesn't)
$ (unset LC_ALL; unset LANG; LC_CTYPE= "$CHGHG" \
> --config extensions.debugenv=$TESTTMP/debugenv.py debugenv)
- LC_CTYPE=C.UTF-8 (py37 !)
- LC_CTYPE= (no-py37 !)
+ LC_CTYPE=C.UTF-8
$ (unset LC_ALL; unset LANG; LC_CTYPE= chg \
> --config extensions.debugenv=$TESTTMP/debugenv.py debugenv)
LC_CTYPE=
--- a/tests/test-hook.t Sat Nov 30 16:54:02 2024 -0500
+++ b/tests/test-hook.t Sat Nov 30 17:08:41 2024 -0500
@@ -995,7 +995,7 @@
Traceback (most recent call last):
ModuleNotFoundError: No module named 'hgext_syntaxerror'
Traceback (most recent call last):
- raise error.HookLoadError(msg, hint=tracebackhint) (py37 !)
+ raise error.HookLoadError(msg, hint=tracebackhint)
mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
@@ -1160,7 +1160,7 @@
Traceback (most recent call last):
ModuleNotFoundError: No module named 'hgext_importfail'
Traceback (most recent call last):
- raise error.HookLoadError(msg, hint=tracebackhint) (py37 !)
+ raise error.HookLoadError(msg, hint=tracebackhint)
mercurial.error.HookLoadError: precommit.importfail hook is invalid: import of "importfail" failed
abort: precommit.importfail hook is invalid: import of "importfail" failed
--- a/tests/test-static-http.t Sat Nov 30 16:54:02 2024 -0500
+++ b/tests/test-static-http.t Sat Nov 30 17:08:41 2024 -0500
@@ -246,11 +246,9 @@
/.hg/store/00changelog.d
/.hg/store/00changelog.i
/.hg/store/00manifest.i
- /.hg/store/data/%7E2ehgsub.i (no-py37 !)
- /.hg/store/data/%7E2ehgsubstate.i (no-py37 !)
/.hg/store/data/a.i
- /.hg/store/data/~2ehgsub.i (py37 !)
- /.hg/store/data/~2ehgsubstate.i (py37 !)
+ /.hg/store/data/~2ehgsub.i
+ /.hg/store/data/~2ehgsubstate.i
/.hg/store/requires
/actually-static/.hg/bookmarks
/actually-static/.hg/bookmarks.current
@@ -274,9 +272,8 @@
/remote-with-names/.hg/store/00changelog.d
/remote-with-names/.hg/store/00changelog.i
/remote-with-names/.hg/store/00manifest.i
- /remote-with-names/.hg/store/data/%7E2ehgtags.i (no-py37 !)
/remote-with-names/.hg/store/data/foo.i
- /remote-with-names/.hg/store/data/~2ehgtags.i (py37 !)
+ /remote-with-names/.hg/store/data/~2ehgtags.i
/remote-with-names/.hg/store/obsstore
/remote-with-names/.hg/store/requires
/remote/.hg/bookmarks
@@ -294,12 +291,10 @@
/remote/.hg/store/00changelog.d
/remote/.hg/store/00changelog.i
/remote/.hg/store/00manifest.i
- /remote/.hg/store/data/%7E2edotfile%20with%20spaces.i (no-py37 !)
- /remote/.hg/store/data/%7E2ehgtags.i (no-py37 !)
/remote/.hg/store/data/bar.i
/remote/.hg/store/data/quux.i
- /remote/.hg/store/data/~2edotfile%20with%20spaces.i (py37 !)
- /remote/.hg/store/data/~2ehgtags.i (py37 !)
+ /remote/.hg/store/data/~2edotfile%20with%20spaces.i
+ /remote/.hg/store/data/~2ehgtags.i
/remote/.hg/store/obsstore
/remote/.hg/store/requires
/remotempty/.hg/bookmarks
@@ -317,7 +312,6 @@
/sub/.hg/store/00changelog.d
/sub/.hg/store/00changelog.i
/sub/.hg/store/00manifest.i
- /sub/.hg/store/data/%7E2ehgtags.i (no-py37 !)
/sub/.hg/store/data/test.i
- /sub/.hg/store/data/~2ehgtags.i (py37 !)
+ /sub/.hg/store/data/~2ehgtags.i
/sub/.hg/store/requires