diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-27 20:03:35 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-27 20:03:35 -0500 |
commit | b21c0938bb2c393445404c1f4b4044dc51b7281a (patch) | |
tree | b91fef8d38e1b6e38ab7cc0c1ff0b7f0eb88dedc /tests/test_misc.py | |
parent | 90534e4d715f19cedce15b279ae14e1d87ac07c0 (diff) | |
download | python-coveragepy-git-b21c0938bb2c393445404c1f4b4044dc51b7281a.tar.gz |
Fix installation in ascii-default environments. #540
Diffstat (limited to 'tests/test_misc.py')
-rw-r--r-- | tests/test_misc.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_misc.py b/tests/test_misc.py index 96b5100b..83a2aecc 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" |