commit: 6b17bfab1d0514cf0f4a5b1a365ce9856dca5f27
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 4 19:54:19 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 4 19:54:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b17bfab
dev-python/distlib: Skip progress bar tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/distlib/distlib-0.3.0.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-python/distlib/distlib-0.3.0.ebuild
b/dev-python/distlib/distlib-0.3.0.ebuild
index f175e215cd6..a70c5be6e17 100644
--- a/dev-python/distlib/distlib-0.3.0.ebuild
+++ b/dev-python/distlib/distlib-0.3.0.ebuild
@@ -28,6 +28,9 @@ src_prepare() {
# no clue but it looks horribly fragile
sed -e 's:test_sequencer_basic:_&:' \
-i tests/test_util.py || die
+ # progress bar test cases, very fragile
+ sed -e '/ProgressTestCase/s:unittest.TestCase:object:' \
+ -i tests/test_util.py || die
# TODO: investigate
sed -e 's:test_upload:_&:' \
-i tests/test_index.py || die