Skip to content

Commit a766e06

Browse files
authored
Merge pull request #596 from Avira/master
changelog and reproducer for #595
2 parents 71006d8 + 88d7a6e commit a766e06

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
2.8rc2 (2017-08-26)
1+
2.8.0 (2017-09-01)
22
-------------------
33

44
- #276: Remove easy_install from docs (TL;DR: use pip).

tests/test_config.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,17 @@ def test_command_env_substitution_global(self, newconfig):
344344
envconfig = config.envconfigs['python']
345345
assert envconfig.commands == [["echo", "bar"]]
346346

347+
def test_reproduce_issue595(self, newconfig):
348+
with pytest.raises(ValueError):
349+
newconfig("""
350+
[tox]
351+
envlist = spam
352+
[testenv]
353+
setenv = DONTCARE = 0
354+
[testenv:eggs]
355+
setenv = {[testenv]setenv}
356+
""")
357+
347358

348359
class TestIniParser:
349360
def test_getstring_single(self, tmpdir, newconfig):

0 commit comments

Comments
 (0)