Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 604256 Details for
Bug 706310
dev-python/flake8-3.7.9: Test suite needs distutils_install_for_testing()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use distutils_install_for_testing() in python_test()
file_706310.txt (text/plain), 953 bytes, created by
Kasey Banco
on 2020-01-25 15:28:25 UTC
(
hide
)
Description:
use distutils_install_for_testing() in python_test()
Filename:
MIME Type:
Creator:
Kasey Banco
Created:
2020-01-25 15:28:25 UTC
Size:
953 bytes
patch
obsolete
>From 5896316457042c4c0a54475bd2d303f0bf216589 Mon Sep 17 00:00:00 2001 >From: Kasey Banco <kaseybanco@fake-box.com> >Date: Sat, 25 Jan 2020 13:57:01 +0000 >Subject: [PATCH] dev-python/flake8-3.7.9: Install package for testing > >If flake8 is not installed for testing, then the test suite uses the >flake8 installed on the system. Use distutils_install_for_testing() to >install it to a temporary location during the test suite. >--- > dev-python/flake8/flake8-3.7.9.ebuild | 6 ++++++ > 1 file changed, 6 insertions(+), 0 deletions(-) > >diff --git a/dev-python/flake8/flake8-3.7.9.ebuild b/dev-python/flake8/flake8-3.7.9.ebuild >index 132124b..a7d31c6 100644 >--- a/dev-python/flake8/flake8-3.7.9.ebuild >+++ b/dev-python/flake8/flake8-3.7.9.ebuild >@@ -51,3 +51,9 @@ python_prepare_all() { > > distutils-r1_python_prepare_all > } >+ >+python_test() >+{ >+ distutils_install_for_testing >+ pytest -vv || die "Tests fail with ${EPYTHON}" >+} >-- >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 706310
: 604256