diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-29 12:26:38 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-29 13:12:03 +0300 |
commit | c03995c484ebf44fc2db149509f11b70ad14d793 (patch) | |
tree | 69d697cce212c5534623ac6294776ecc5fb47c26 /dev-python/asttokens | |
parent | dev-python/executing: add 0.9.1 (diff) | |
download | gentoo-c03995c484ebf44fc2db149509f11b70ad14d793.tar.gz gentoo-c03995c484ebf44fc2db149509f11b70ad14d793.tar.bz2 gentoo-c03995c484ebf44fc2db149509f11b70ad14d793.zip |
dev-python/asttokens: disable astroid tests
Tests need a specific astroid version that we can't provide
Closes: https://bugs.gentoo.org/834561
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/asttokens')
-rw-r--r-- | dev-python/asttokens/asttokens-2.0.5.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-python/asttokens/asttokens-2.0.5.ebuild b/dev-python/asttokens/asttokens-2.0.5.ebuild index 95da21f9ec1f..722811c86b57 100644 --- a/dev-python/asttokens/asttokens-2.0.5.ebuild +++ b/dev-python/asttokens/asttokens-2.0.5.ebuild @@ -27,13 +27,10 @@ BDEPEND=" distutils_enable_tests pytest -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local deselect=() - [[ ${EPYTHON} == python3.8 ]] && deselect+=( - tests/test_astroid.py::TestAstroid::test_slices - ) +EPYTEST_DESELECT=( + # test suite itself broken with new astroid versions, upstream less care + # https://github.com/gristlabs/asttokens/issues/79 + tests/test_astroid.py +) - epytest ${deselect[@]/#/--deselect } -} +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |