Commit a7e56604 authored by Xavier Thompson's avatar Xavier Thompson

[fix] zc.recipe.egg: Fix tests with recent setuptools

With recent setuptools, the way the test package index is laid out
causes a warning log to be emitted, which needs to be filtered out
to keep matching the expected test output.
parent 395c6f36
...@@ -98,6 +98,12 @@ def test_suite(): ...@@ -98,6 +98,12 @@ def test_suite():
zc.buildout.testing.normalize_path, zc.buildout.testing.normalize_path,
zc.buildout.testing.normalize_endings, zc.buildout.testing.normalize_endings,
zc.buildout.testing.not_found, zc.buildout.testing.not_found,
# Setuptools may emit this warning if it hasn't yet indexed
# the index page of the test package index (at <index-url>)
# because it starts by looking at <index-url>/<package-name>
# and warns if it needs to fallback to scanning <index-url>.
(re.compile(r"Couldn't find index page for 'demo' .*\r?\n"),
''),
]) ])
), ),
] ]
......
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