summaryrefslogtreecommitdiff
path: root/dev-python/tomlkit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/tomlkit')
-rw-r--r--dev-python/tomlkit/tomlkit-0.15.1.ebuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/dev-python/tomlkit/tomlkit-0.15.1.ebuild b/dev-python/tomlkit/tomlkit-0.15.1.ebuild
index 884813564de0..fe2c2ad94cea 100644
--- a/dev-python/tomlkit/tomlkit-0.15.1.ebuild
+++ b/dev-python/tomlkit/tomlkit-0.15.1.ebuild
@@ -18,12 +18,6 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-BDEPEND="
- test? (
- dev-python/pyyaml[${PYTHON_USEDEP}]
- )
-"
-
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
@@ -46,3 +40,16 @@ src_configure() {
# which are older than what zip can handle...
find -exec touch {} + || die
}
+
+python_test() {
+ local EPYTEST_DESELECT=()
+
+ if [[ ${EPYTHON} == pypy* ]]; then
+ EPYTEST_DESELECT+=(
+ # https://github.com/python-poetry/tomlkit/issues/619
+ tests/test_items.py::test_times_behave_like_times
+ )
+ fi
+
+ epytest
+}