diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-09-13 19:55:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-09-13 19:56:05 +0200 |
commit | ab3027da217a4e32a853a41ae37c013457556f0e (patch) | |
tree | d7047c0a18e28a8f729556011c03c51c82f7f0c4 /dev-python/pyparsing | |
parent | dev-python/urllib3: Add missing hatch-vcs BDEP (diff) | |
download | gentoo-ab3027da217a4e32a853a41ae37c013457556f0e.tar.gz gentoo-ab3027da217a4e32a853a41ae37c013457556f0e.tar.bz2 gentoo-ab3027da217a4e32a853a41ae37c013457556f0e.zip |
dev-python/pyparsing: Skip mpl tests when unavailable
Closes: https://bugs.gentoo.org/939589
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyparsing')
-rw-r--r-- | dev-python/pyparsing/pyparsing-3.2.0_beta1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/pyparsing/pyparsing-3.2.0_beta1.ebuild b/dev-python/pyparsing/pyparsing-3.2.0_beta1.ebuild index 5387f6f9faf2..bd3fdd7b49b7 100644 --- a/dev-python/pyparsing/pyparsing-3.2.0_beta1.ebuild +++ b/dev-python/pyparsing/pyparsing-3.2.0_beta1.ebuild @@ -39,6 +39,12 @@ python_test() { tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly ) + if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_matplotlib_cases.py + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } |