Skip to content

Commit 108865d

Browse files
author
kendal
committed
Fix type error when calling random.randrange with 'float' arg
1 parent 0c56fd0 commit 108865d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self):
7575
class Pipe(object):
7676
def __init__(self, prefix):
7777
while True:
78-
self.name = "lldb-" + str(random.randrange(1e10))
78+
self.name = "lldb-" + str(random.randrange(int(1e10)))
7979
full_name = "\\\\.\\pipe\\" + self.name
8080
self._handle = CreateNamedPipe(
8181
full_name,

0 commit comments

Comments
 (0)