Determines the OS is Mac by using sys.platform Returns True if Mac :return: True if sys.platform indicates running Mac :rtype: (bool)
()
| 284 | |
| 285 | |
| 286 | def running_mac(): |
| 287 | """ |
| 288 | Determines the OS is Mac by using sys.platform |
| 289 | |
| 290 | Returns True if Mac |
| 291 | |
| 292 | :return: True if sys.platform indicates running Mac |
| 293 | :rtype: (bool) |
| 294 | """ |
| 295 | return sys.platform.startswith('darwin') |
| 296 | |
| 297 | |
| 298 | def running_windows(): |
no outgoing calls
no test coverage detected