Skip to content

Commit f2017e4

Browse files
committed
remove absl
1 parent 82cc8a4 commit f2017e4

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

test/nginx_opentracing_test.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import shutil
55
import stat
66
import subprocess
7-
import sys
87
import tempfile
98
import time
109
import unittest
@@ -15,16 +14,6 @@
1514
import docker
1615
import grpc
1716

18-
try:
19-
from absl import logging as absl_logging
20-
21-
# Prevent noisy "All log messages ..." banner
22-
absl_logging.set_verbosity(absl_logging.INFO)
23-
absl_logging.use_absl_handler()
24-
except ImportError:
25-
# absl is optional – continue with stdlib logging defaults
26-
pass
27-
2817

2918
def get_docker_client():
3019
with warnings.catch_warnings():
@@ -98,7 +87,7 @@ def wait_for_containers(self, expected_containers=None):
9887
time.sleep(0.5)
9988
except docker.errors.APIError as e:
10089
if time.time() > timeout:
101-
raise TimeoutError(f"Docker API error: {str(e)}")
90+
raise TimeoutError(f"Docker API error: {str(e)}") from e
10291
time.sleep(0.5)
10392

10493
def _logEnvironment(self):

test/requirements.ci.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
absl-py==2.2.2
21
docker==7.1.0
32
grpcio==1.71.0
43
protobuf==6.30.2

0 commit comments

Comments
 (0)