1
0
Fork 0

Refactor doctor.py into a directory (#13298)

This commit is contained in:
Zach White 2021-06-22 11:50:53 -07:00 committed by GitHub
parent d61e5c0027
commit e87d231645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 70 additions and 49 deletions

View file

@ -0,0 +1,13 @@
import platform
from milc import cli
from .check import CheckStatus
def os_test_macos():
"""Run the Mac specific tests.
"""
cli.log.info("Detected {fg_cyan}macOS %s{fg_reset}.", platform.mac_ver()[0])
return CheckStatus.OK