summaryrefslogtreecommitdiff
path: root/tests/test_misc.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-27 20:03:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-27 20:03:35 -0500
commit1eeb1037b2cb04e79be33452f8b31a9b5dca4406 (patch)
treee4c1ef0d3c272fb146909eef74b355e91a88c52c /tests/test_misc.py
parent5081f861d06108fe1c6419f05042573ccd4e9eed (diff)
downloadpython-coveragepy-1eeb1037b2cb04e79be33452f8b31a9b5dca4406.tar.gz
Fix installation in ascii-default environments. #540
Diffstat (limited to 'tests/test_misc.py')
-rw-r--r--tests/test_misc.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_misc.py b/tests/test_misc.py
index 96b5100..83a2aec 100644
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -104,6 +104,11 @@ class SetupPyTest(CoverageTest):
run_in_temp_dir = False
+ def setUp(self):
+ super(SetupPyTest, self).setUp()
+ # Force the most restrictive interpretation.
+ self.set_environ('LC_ALL', 'C')
+
def test_metadata(self):
status, output = self.run_command_status(
"python setup.py --description --version --url --author"