class documentation
class TestWithCExtension: (source)
Undocumented
Method | test |
When opting-in to pyproject.toml metadata, auto-discovery will be active if the package lists C-extensions, but does not configure py-modules or packages. |
Method | test |
Ensure that auto-discovery is not triggered when the project is based on C-extensions only, for backward compatibility. |
Method | _simulate |
Undocumented |
When opting-in to pyproject.toml metadata, auto-discovery will be active if the package lists C-extensions, but does not configure py-modules or packages. This way we ensure users with complex package layouts that would lead to the discovery of multiple top-level modules/packages see errors and are forced to explicitly set ``packages`` or ``py-modules``.