util: remove superfluous ispy3 test
Differential Revision: https://phab.mercurial-scm.org/D12300
--- a/mercurial/util.py Mon Feb 21 10:35:20 2022 -0700
+++ b/mercurial/util.py Mon Feb 21 10:35:42 2022 -0700
@@ -188,7 +188,7 @@
warnings.filterwarnings('default', '', DeprecationWarning, 'mercurial')
warnings.filterwarnings('default', '', DeprecationWarning, 'hgext')
warnings.filterwarnings('default', '', DeprecationWarning, 'hgext3rd')
-if _dowarn and pycompat.ispy3:
+if _dowarn:
# silence warning emitted by passing user string to re.sub()
warnings.filterwarnings(
'ignore', 'bad escape', DeprecationWarning, 'mercurial'