##// END OF EJS Templates
tests: set a default encoding for running tests (ASCII)
Matt Mackall -
r3776:037824e6 default
parent child Browse files
Show More
@@ -332,6 +332,8 b" os.environ['TZ'] = 'GMT'"
332 os.environ["HGEDITOR"] = sys.executable + ' -c "import sys; sys.exit(0)"'
332 os.environ["HGEDITOR"] = sys.executable + ' -c "import sys; sys.exit(0)"'
333 os.environ["HGMERGE"] = sys.executable + ' -c "import sys; sys.exit(0)"'
333 os.environ["HGMERGE"] = sys.executable + ' -c "import sys; sys.exit(0)"'
334 os.environ["HGUSER"] = "test"
334 os.environ["HGUSER"] = "test"
335 os.environ["HGENCODING"] = "ascii"
336 os.environ["HGENCODINGMODE"] = "strict"
335
337
336 TESTDIR = os.environ["TESTDIR"] = os.getcwd()
338 TESTDIR = os.environ["TESTDIR"] = os.getcwd()
337 HGTMP = os.environ["HGTMP"] = tempfile.mkdtemp("", "hgtests.")
339 HGTMP = os.environ["HGTMP"] = tempfile.mkdtemp("", "hgtests.")
General Comments 0
You need to be logged in to leave comments. Login now