Skip to content

Commit 976b5f9

Browse files
authored
Merge pull request #94 from stackhpc/fix/client-tweaks
Minor fixes to test scripts
2 parents accc168 + 2345074 commit 976b5f9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/parallel-client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import requests
2828
import numpy as np
2929
import ssl
30-
import sys
3130
import time
3231
import urllib3
3332

@@ -265,7 +264,10 @@ async def run_async_httpx(args):
265264

266265

267266
def main():
268-
urllib3.disable_warnings(urllib3.exceptions.SubjectAltNameWarning)
267+
try:
268+
urllib3.disable_warnings(urllib3.exceptions.SubjectAltNameWarning)
269+
except:
270+
pass
269271
args = get_args()
270272
start = time.time()
271273
num_errors = 0

scripts/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ numcodecs
22
numpy
33
requests
44
s3fs
5+
httpx

0 commit comments

Comments
 (0)