Refactor doctor.py into a directory (#13298)

This commit is contained in:
Zach White authored and GitHub committed 2021-06-22 19:50:53 +01:00
1 parent d61e5c0027
commit e87d231645
6 files changed
+70 -49

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import platform
from milc import cli
from .check import CheckStatus
def os_test_windows():
"""Run the Windows specific tests.
"""
win32_ver = platform.win32_ver()
cli.log.info("Detected {fg_cyan}Windows %s (%s){fg_reset}.", win32_ver[0], win32_ver[1])
return CheckStatus.OK