diff options
author | John Vandenberg <jayvdb@gmail.com> | 2015-12-26 09:16:05 +1100 |
---|---|---|
committer | John Vandenberg <jayvdb@gmail.com> | 2015-12-26 09:16:05 +1100 |
commit | fe8a1ba5216c71421f8a83ef62f3aabed634371b (patch) | |
tree | e16dadb3fe47cd7206a7f8d6bc4839dc9c4b1e5e /tests | |
parent | deaacda2f7691916ff9fb703536b012d6d546208 (diff) | |
download | tox-fe8a1ba5216c71421f8a83ef62f3aabed634371b.tar.gz |
Unescape \{..\}
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 6176641..7c0e411 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1015,12 +1015,12 @@ class TestConfigTestEnv: """ conf = newconfig([], inisource).envconfigs['py27'] argv = conf.commands - assert argv[0] == ['echo', '\\{posargs\\}', '='] + assert argv[0] == ['echo', '{posargs}', '='] assert argv[1] == ['echo', 'posargs = ', ""] conf = newconfig(['dog', 'cat'], inisource).envconfigs['py27'] argv = conf.commands - assert argv[0] == ['echo', '\\{posargs\\}', '=', 'dog', 'cat'] + assert argv[0] == ['echo', '{posargs}', '=', 'dog', 'cat'] assert argv[1] == ['echo', 'posargs = ', 'dog cat'] def test_rewrite_posargs(self, tmpdir, newconfig): |