class documentation

class TestPep420Namespaces: (source)

View In Hierarchy

Undocumented

Method test_namespace_accidental_config_in_lenient_mode Sometimes users might specify an ``include`` pattern that ignores parent packages. In a normal installation this would ignore all modules inside the parent packages, and make them namespaces (reported in issue #3504), so the editable mode should preserve this behaviour.
Method test_namespace_created_via_package_dir Currently users can create a namespace by tweaking `package_dir`
Method test_namespace_package_importable Installing two packages sharing the same namespace, one installed normally using pip and the other installed in editable mode should allow importing both packages.
def test_namespace_accidental_config_in_lenient_mode(self, venv, tmp_path): (source)

Sometimes users might specify an ``include`` pattern that ignores parent packages. In a normal installation this would ignore all modules inside the parent packages, and make them namespaces (reported in issue #3504), so the editable mode should preserve this behaviour.

def test_namespace_created_via_package_dir(self, venv, tmp_path, editable_opts): (source)

Currently users can create a namespace by tweaking `package_dir`

def test_namespace_package_importable(self, venv, tmp_path, editable_opts): (source)

Installing two packages sharing the same namespace, one installed normally using pip and the other installed in editable mode should allow importing both packages.