Patchwork D10468: tests: fix test-chg to ignore a warning about being unable to set locale

login
register
mail settings
Submitter phabricator
Date April 19, 2021, 10:32 p.m.
Message ID <differential-rev-PHID-DREV-qrppnc72fbkgbhzycq3c-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48785/
State Superseded
Headers show

Comments

phabricator - April 19, 2021, 10:32 p.m.
spectral created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  I think this is only enabled on some newer Python versions, which is why this
  wasn't caught before.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10468

AFFECTED FILES
  tests/test-chg.t

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-chg.t b/tests/test-chg.t
--- a/tests/test-chg.t
+++ b/tests/test-chg.t
@@ -458,6 +458,7 @@ 
   LC_CTYPE=
   $ (unset LC_ALL; unset LANG; LC_CTYPE=unsupported_value chg \
   >    --config extensions.debugenv=$TESTTMP/debugenv.py debugenv)
+  *cannot change locale* (glob) (?)
   LC_CTYPE=unsupported_value
   $ (unset LC_ALL; unset LANG; LC_CTYPE= chg \
   >    --config extensions.debugenv=$TESTTMP/debugenv.py debugenv)