diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-09-08 17:22:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-09-08 19:26:52 +0200 |
commit | 5c439604f2e9327d701e0448ede782343cbe0559 (patch) | |
tree | f680d2d2a9ef5ea7bcc49cc24bef487ecb3e0bba /dev-python/ipykernel | |
parent | virtual/dist-kernel: Bump to 5.13.15 (diff) | |
download | gentoo-5c439604f2e9327d701e0448ede782343cbe0559.tar.gz gentoo-5c439604f2e9327d701e0448ede782343cbe0559.tar.bz2 gentoo-5c439604f2e9327d701e0448ede782343cbe0559.zip |
dev-python/ipykernel: Increase timeouts in tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ipykernel')
-rw-r--r-- | dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-python/ipykernel/ipykernel-6.2.0.ebuild | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild b/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild index b5ee0ac3d573..a350b3a08815 100644 --- a/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild +++ b/dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild @@ -31,6 +31,11 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} + python_test() { local deselect=( # TODO diff --git a/dev-python/ipykernel/ipykernel-6.2.0.ebuild b/dev-python/ipykernel/ipykernel-6.2.0.ebuild index 657ad55da618..ce2ed8ddd7e9 100644 --- a/dev-python/ipykernel/ipykernel-6.2.0.ebuild +++ b/dev-python/ipykernel/ipykernel-6.2.0.ebuild @@ -37,3 +37,8 @@ BDEPEND=" )" distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} |