(err_msg)
| 1385 | |
| 1386 | |
| 1387 | def _warn_critical(err_msg): |
| 1388 | # type: (str) -> None |
| 1389 | log.critical(err_msg) |
| 1390 | warnings.warn( |
| 1391 | "%s. NOTICE: this warning will likely turn into a raised exception in getmac 1.0.0!" |
| 1392 | % err_msg, |
| 1393 | RuntimeWarning, |
| 1394 | ) |
| 1395 | |
| 1396 | |
| 1397 | def initialize_method_cache( |
no test coverage detected