diff options
| author | Adam Hupp <adam@hupp.org> | 2021-01-15 13:49:55 -0800 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2021-01-15 13:49:55 -0800 |
| commit | 2b8bb0d68eff1293050f10fec26cef38b4dfd282 (patch) | |
| tree | 54b4bb5d2691e533e72d77048ad653e90ecaac8b /test/run.py | |
| parent | c6457815ee61581e9addf47fb75f9b550e06fcce (diff) | |
| download | python-magic-2b8bb0d68eff1293050f10fec26cef38b4dfd282.tar.gz | |
skip magic_descriptor tests in centos 7
Diffstat (limited to 'test/run.py')
| -rw-r--r-- | test/run.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/run.py b/test/run.py index c4b8d0a..cf62eee 100644 --- a/test/run.py +++ b/test/run.py @@ -4,10 +4,11 @@ import sys this_dir = os.path.dirname(sys.argv[0]) -new_env = { +new_env = dict(os.environ) +new_env.update({ 'LC_ALL': 'en_US.UTF-8', 'PYTHONPATH': os.path.join(this_dir, ".."), -} +}) def has_py(version): |
