diff options
Diffstat (limited to 'dev-python/watchgod/watchgod-0.8.1.ebuild')
-rw-r--r-- | dev-python/watchgod/watchgod-0.8.1.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/dev-python/watchgod/watchgod-0.8.1.ebuild b/dev-python/watchgod/watchgod-0.8.1.ebuild index be3e64483bb4..4e6dd5a7db55 100644 --- a/dev-python/watchgod/watchgod-0.8.1.ebuild +++ b/dev-python/watchgod/watchgod-0.8.1.ebuild @@ -35,10 +35,6 @@ BDEPEND=" distutils_enable_tests pytest -EPYTEST_DESELECT=( - # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84 - tests/test_watch.py::test_awatch_log -) src_prepare() { # increase timeout @@ -46,3 +42,14 @@ src_prepare() { distutils-r1_src_prepare } + +python_test() { + local EPYTEST_DESELECT=( + # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84 + tests/test_watch.py::test_awatch_log + ) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + tests/test_watch.py::test_does_not_exist + ) + epytest +} |