Skip to content

Commit 4a86e1d

Browse files
committed
fix Python 2 Unicode draw_str test
1 parent 438f44f commit 4a86e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def str_check(array, string, desc):
205205
str_check(array, string, 'standatd string')
206206

207207
# Unicode string - Python 2
208-
array = [random.getrandbits(8) for _ in range(width * height)]
208+
array = [random.getrandbits(7) for _ in range(width * height)]
209209
unicode = u''.join((chr(c) for c in array))
210210
str_check(array, unicode, 'Unicode string')
211211

0 commit comments

Comments
 (0)