diff options
author | James Williams <james@kananlabs.org> | 2022-12-29 17:33:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-29 15:33:56 -0800 |
commit | b49d11867ab6bd7219c5b2c50f610e7829395975 (patch) | |
tree | a674bb40db2862aeafdc3abb929c72b1ed16c450 /tests | |
parent | c83819262b4b739899af8a0bd7b6f32442344e4a (diff) | |
download | tox-git-b49d11867ab6bd7219c5b2c50f610e7829395975.tar.gz |
Fix logging error with emoji in git branch name. (#2790)
Resolves https://github.com/tox-dev/tox/issues/2768
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tox_env/test_tox_env_api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tox_env/test_tox_env_api.py b/tests/tox_env/test_tox_env_api.py index f4f28607..1a8fefdc 100644 --- a/tests/tox_env/test_tox_env_api.py +++ b/tests/tox_env/test_tox_env_api.py @@ -34,7 +34,8 @@ def test_allow_list_external_fail(tox_project: ToxProjectCreator, fake_exe_on_pa def test_env_log(tox_project: ToxProjectCreator) -> None: cmd = "commands=python -c 'import sys; print(1); print(2); print(3, file=sys.stderr); print(4, file=sys.stderr)'" - prj = tox_project({"tox.ini": f"[testenv]\npackage=skip\n{cmd}"}) + env_vars = " UNPREDICTABLE = 🪟" + prj = tox_project({"tox.ini": f"[testenv]\npackage=skip\nset_env =\n{env_vars}\n{cmd}"}) result_first = prj.run("r") result_first.assert_success() |