MCPcopy Create free account
hub / github.com/ipython/ipython / has_pywin32

Function has_pywin32

IPython/utils/tests/test_process.py:48–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def has_pywin32():
49 try:
50 import win32api
51 except ImportError:
52 return False
53 return True
54
55
56@dec.onlyif(has_pywin32, "This test requires win32api to run")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected