Commit 46be0276 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge pull request #1795 from benoit-pierre/fix_travis_ci

Fix CI
parents 6bdd9c5c 4598c1a2
...@@ -242,7 +242,7 @@ def test_distribution_version_missing(tmpdir, suffix, expected_filename, ...@@ -242,7 +242,7 @@ def test_distribution_version_missing(tmpdir, suffix, expected_filename,
with pytest.raises(ValueError) as excinfo: with pytest.raises(ValueError) as excinfo:
dist.version dist.version
err = str(excinfo) err = str(excinfo.value)
# Include a string expression after the assert so the full strings # Include a string expression after the assert so the full strings
# will be visible for inspection on failure. # will be visible for inspection on failure.
assert expected_text in err, str((expected_text, err)) assert expected_text in err, str((expected_text, err))
......
[pytest] [pytest]
addopts=--doctest-modules --doctest-glob=pkg_resources/api_tests.txt -rsxX addopts=--doctest-modules --doctest-glob=pkg_resources/api_tests.txt -r sxX
norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern .* norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern .*
flake8-ignore = flake8-ignore =
setuptools/site-patch.py F821 setuptools/site-patch.py F821
......
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