fix: skip tests that require grpc if not available

This commit is contained in:
Khalil Meftah
2026-04-15 15:18:04 +02:00
parent c88cf979f1
commit 7a1c9e74c3
4 changed files with 14 additions and 0 deletions
+3
View File
@@ -15,6 +15,9 @@
# limitations under the License.
import pytest
pytest.importorskip("grpc")
import torch
from torch import Tensor, nn