Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey committed Jan 29, 2024
1 parent f341828 commit f8c30e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/perf/arrayperf/bytes_to_vlen.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
getByteArraySize,
)

""" Time bytesToArray and arrayToBytes with VLEN str type
""" Time bytesToArray and arrayToBytes with VLEN str type
Got the following result with python 3.11:
Expand All @@ -43,7 +43,7 @@
# create a list of random strings from 1 to 100 chars
buffer = bytearray(100)
for j in range(count):
str_len = random.randint(1,100)
str_len = random.randint(1, 100)
for i in range(str_len):
buffer[i] = ord('a') + random.randint(0, 25)
s = buffer[:str_len].decode()
Expand Down Expand Up @@ -73,4 +73,3 @@
msg += f"{arr[i]} vs {arr_ret[i]}"
raise ValueError(msg)


0 comments on commit f8c30e9

Please sign in to comment.