diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-11-09 14:51:34 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-11-09 14:54:43 +0200 |
commit | 7550cea41152d36c9f48bb26309ac2532d1c6dfa (patch) | |
tree | 864b06bff166cac5c43666150f03dc9850819f9e /dev-python/aiohttp | |
parent | media-libs/opencv: add cap for <dev-libs/protobuf-3.19 (diff) | |
download | gentoo-7550cea41152d36c9f48bb26309ac2532d1c6dfa.tar.gz gentoo-7550cea41152d36c9f48bb26309ac2532d1c6dfa.tar.bz2 gentoo-7550cea41152d36c9f48bb26309ac2532d1c6dfa.zip |
dev-python/aiohttp: increase timeout for one test
The test_when_timeout_smaller_second at tests/test_helpers.py
expects too high precision on timeout. Multiple runs on sparc
managed to get just outsize the range (1.1ms when 1ms is expected).
By upping the precision to 10ms, all tests pass on sparc.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/aiohttp')
-rw-r--r-- | dev-python/aiohttp/aiohttp-3.8.0.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.8.0.ebuild b/dev-python/aiohttp/aiohttp-3.8.0.ebuild index 54748d231fe7..79cfce77e92b 100644 --- a/dev-python/aiohttp/aiohttp-3.8.0.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.0.ebuild @@ -63,6 +63,9 @@ src_prepare() { "${FILESDIR}"/${P}-examples.patch ) + # increate a little the timeout + sed -e '/abs_tol=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die distutils-r1_src_prepare |