def test_from_environment_with_spaces_in_executable(self):
with mock.patch('sys.executable', TestScriptHeader.exe_with_spaces):
cmd = ei.CommandSpec.from_environment()
assert len(cmd) == 1
assert cmd.as_header().startswith('#!"')
test_easy_install.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录