diff tests/run-tests.py @ 43073:5c9c71cde1c9

hg: remove HGUNICODEPEDANTRY and RTUNICODEPEDANTRY This was added in 73e4a02e6d23 and 89822d7a9d5f as a preliminary way to better support Python 3. With the Python 3 port nearly done and better procedures in place, we shouldn't need it. Differential Revision: https://phab.mercurial-scm.org/D6991
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 05 Oct 2019 17:01:02 -0400
parents e360acfaf210
children 2372284d9457
line wrap: on
line diff
--- a/tests/run-tests.py	Fri Oct 04 16:07:32 2019 -0400
+++ b/tests/run-tests.py	Sat Oct 05 17:01:02 2019 -0400
@@ -80,13 +80,6 @@
     import pipes
     shellquote = pipes.quote
 
-if os.environ.get('RTUNICODEPEDANTRY', False):
-    try:
-        reload(sys)
-        sys.setdefaultencoding("undefined")
-    except NameError:
-        pass
-
 processlock = threading.Lock()
 
 pygmentspresent = False