(self)
| 637 | network_request = True |
| 638 | |
| 639 | def test(self): # type: () -> bool |
| 640 | try: |
| 641 | return ctypes.windll.wsock32.inet_addr(b"127.0.0.1") > 0 # noqa: T484 |
| 642 | except Exception: |
| 643 | return False |
| 644 | |
| 645 | def get(self, arg): # type: (str) -> Optional[str] |
| 646 | if not PY2: # Convert to bytes on Python 3+ (Fixes GitHub issue #7) |
nothing calls this directly
no outgoing calls
no test coverage detected