[tests] Do not use string.lowercase, as Python3 complains about it
This commit is contained in:
parent
8724af2906
commit
30f3c898ed
1 changed files with 2 additions and 2 deletions
|
@ -7,10 +7,10 @@ import subprocess
|
|||
|
||||
from bumblebee.output import Widget
|
||||
|
||||
import random, string
|
||||
import random
|
||||
|
||||
def rand(cnt):
|
||||
return "".join(random.choice(string.lowercase) for i in range(cnt))
|
||||
return "".join(random.choice("abcdefghijklmnopqrstuvwxyz0123456789") for i in range(cnt))
|
||||
|
||||
def mouseEvent(stdin, button, inp, module=None, instance=None):
|
||||
stdin.readline.return_value = json.dumps({
|
||||
|
|
Loading…
Reference in a new issue