AnonymousSpottedToad/securityPatternsRecovery / codebase /repos /python /Quansight_ragna /tests /utils.py
| import platform | |
| import socket | |
| import pytest | |
| skip_on_windows = pytest.mark.skipif( | |
| platform.system() == "Windows", reason="Test is broken skipped on Windows" | |
| ) | |
| def get_available_port(): | |
| with socket.socket() as s: | |
| s.bind(("", 0)) | |
| return s.getsockname()[1] | |
Xet Storage Details
- Size:
- 282 Bytes
- Xet hash:
- de5b569bae7761731828b538839edeecde6221c1e2c1738bf2968a8ca0a5498c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.