mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Do not import pytest in test util (#20252)
This commit is contained in:
parent
7500f7d88a
commit
e901180a55
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,6 @@ from typing import Optional, Any, List, Dict
|
|||
from contextlib import redirect_stdout, redirect_stderr
|
||||
import yaml
|
||||
import logging
|
||||
import pytest
|
||||
import tempfile
|
||||
import grpc
|
||||
|
||||
|
@ -871,6 +870,7 @@ def monitor_memory_usage(print_interval_s: int = 30,
|
|||
|
||||
def setup_tls():
|
||||
"""Sets up required environment variables for tls"""
|
||||
import pytest
|
||||
if sys.platform == "darwin":
|
||||
pytest.skip("Cryptography doesn't install in Mac build pipeline")
|
||||
cert, key = generate_self_signed_tls_certs()
|
||||
|
|
Loading…
Add table
Reference in a new issue