class documentation
class TestSysconfig: (source)
Undocumented
Method | customize |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
In portable Python installations, the sysconfig will be broken, pointing to the directories where the installation was built and not where it currently is. In this case, ensure that the missing directory isn't used for get_python_inc. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test_ |
Undocumented |
Method | test |
srcdir should be independent of the current working directory |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Ensure distutils.sysconfig detects venvs from source tree builds. |
Method | test |
Undocumented |
@pytest.mark.skipif( 'get_default_compiler() != \'unix\'')
def test_customize_compiler(self): (source) ¶
def test_customize_compiler(self): (source) ¶
Undocumented
@pytest.mark.skipif( 'platform.system() == \'Windows\'')
@pytest.mark.skipif( 'sys.implementation.name != \'cpython\'')
def test_get_makefile_filename(self): (source) ¶
@pytest.mark.skipif(
def test_get_makefile_filename(self): (source) ¶
Undocumented
In portable Python installations, the sysconfig will be broken, pointing to the directories where the installation was built and not where it currently is. In this case, ensure that the missing directory isn't used for get_python_inc. See pypa/distutils#178.
@pytest.mark.skipif( 'not sysconfig.get_config_var(\'EXT_SUFFIX\')')
def test_SO_deprecation(self): (source) ¶
def test_SO_deprecation(self): (source) ¶
Undocumented
@pytest.mark.skipif( 'sysconfig.IS_PYPY')
@pytest.mark.skipif( 'not sysconfig.python_build')
def test_srcdir_python_build(self): (source) ¶
@pytest.mark.skipif(
def test_srcdir_python_build(self): (source) ¶
Undocumented
@pytest.mark.skipif( 'sysconfig.IS_PYPY')
@pytest.mark.skipif( 'sysconfig.python_build')
@pytest.mark.xfail( 'platform.system() == "Windows"')
def test_srcdir_simple(self): (source) ¶
@pytest.mark.skipif(
@pytest.mark.xfail(
def test_srcdir_simple(self): (source) ¶
Undocumented
@pytest.mark.skipif( 'sysconfig.get_config_var(\'CUSTOMIZED_OSX_COMPILER\')')
def test_sysconfig_compiler_vars(self): (source) ¶
def test_sysconfig_compiler_vars(self): (source) ¶
Undocumented
@pytest.mark.skipif( 'platform.system() != \'Windows\'')
@pytest.mark.skipif( 'sys.implementation.name != \'cpython\'')
@pytest.mark.skipif( ('\\PCbuild\\'.casefold() not in sys.executable.casefold()), reason='Need sys.executable to be in a source tree')
def test_win_build_venv_from_source_tree(self, tmp_path): (source) ¶
@pytest.mark.skipif(
@pytest.mark.skipif(
def test_win_build_venv_from_source_tree(self, tmp_path): (source) ¶
Ensure distutils.sysconfig detects venvs from source tree builds.