Summary: | portage installs its own unittest (test_*) modules which aren't useful | ||
---|---|---|---|
Product: | Portage Development | Reporter: | SpanKY <vapier> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=366203 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
SpanKY
2022-03-31 03:14:30 UTC
It's pretty common for python packages to install their test modules. Bug 366203 was about banning installation of "test" or "tests" directories at the top-level under site-packages. Portage does not do that; they are installed under the "portage" namespace. Someone might want to run the test suite from an installed copy of Portage. That is currently possible to do like so: python3.10 -m portage.tests.runTests |