class documentation

class TestBuildExtInplace: (source)

View In Hierarchy

Undocumented

Method get_build_ext_cmd Undocumented
Method get_log_messages Historically, distutils "logged" by printing to sys.std*. Later versions adopted the logging framework. Grab messages regardless of how they were captured.
Method test_non_optional Undocumented
Method test_optional If optional extensions fail to build, setuptools should show the error in the logs but not fail to build
def get_build_ext_cmd(self, optional: bool, **opts): (source)

Undocumented

def get_log_messages(self, caplog, capsys): (source)

Historically, distutils "logged" by printing to sys.std*. Later versions adopted the logging framework. Grab messages regardless of how they were captured.

def test_non_optional(self, tmpdir_cwd): (source)

Undocumented

def test_optional(self, tmpdir_cwd, caplog, capsys): (source)

If optional extensions fail to build, setuptools should show the error in the logs but not fail to build