Commit a5950d64 authored by Marius Gedminas's avatar Marius Gedminas

Handle changed NameError wording in Python 3.4

Should fix https://travis-ci.org/buildout/buildout/jobs/39918144
parent 424541b8
...@@ -3504,6 +3504,8 @@ def test_suite(): ...@@ -3504,6 +3504,8 @@ def test_suite():
# bootstrap_crashes_with_egg_recipe_in_buildout_section # bootstrap_crashes_with_egg_recipe_in_buildout_section
(re.compile(r"Unused options for buildout: 'eggs' 'scripts'\."), (re.compile(r"Unused options for buildout: 'eggs' 'scripts'\."),
"Unused options for buildout: 'scripts' 'eggs'."), "Unused options for buildout: 'scripts' 'eggs'."),
# Python 3.4 changed the wording of NameErrors
(re.compile('NameError: global name'), 'NameError: name'),
]), ]),
), ),
zc.buildout.rmtree.test_suite(), zc.buildout.rmtree.test_suite(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment