1 Star 0 Fork 1

penghuailiang/deepSync

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test_environment.py 632 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nic Wickman 提交于 2020-03-31 11:28 . Initial commit
import sys
REQUIRED_PYTHON = "python3"
def main():
system_major = sys.version_info.major
if REQUIRED_PYTHON == "python":
required_major = 2
elif REQUIRED_PYTHON == "python3":
required_major = 3
else:
raise ValueError("Unrecognized python interpreter: {}".format(
REQUIRED_PYTHON))
if system_major != required_major:
raise TypeError(
"This project requires Python {}. Found: Python {}".format(
required_major, sys.version))
else:
print(">>> Development environment passes all tests!")
if __name__ == '__main__':
main()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/penghuailiang/deepSync.git
git@gitee.com:penghuailiang/deepSync.git
penghuailiang
deepSync
deepSync
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385