MCPcopy Create free account
hub / github.com/microsoft/Webwright / check_python

Function check_python

src/webwright/run/doctor.py:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def check_python():
15 version = sys.version_info
16
17 if version >= (3, 10):
18 return True, f"Python {version.major}.{version.minor}"
19
20 return False, ("Python 3.10+ required\nFix: install Python 3.10 or newer")
21
22
23def check_playwright():

Callers 1

test_check_pythonFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_check_pythonFunction · 0.72