summaryrefslogtreecommitdiffstats
path: root/BaseTools/Tests/TestTools.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Tests/TestTools.py')
-rw-r--r--BaseTools/Tests/TestTools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Tests/TestTools.py b/BaseTools/Tests/TestTools.py
index 20a4ea28aa..d3a42ff426 100644
--- a/BaseTools/Tests/TestTools.py
+++ b/BaseTools/Tests/TestTools.py
@@ -160,7 +160,7 @@ class BaseToolsTest(unittest.TestCase):
if minlen is None: minlen = 1024
if maxlen is None: maxlen = minlen
return ''.join(
- [chr(random.randint(0,255))
+ [chr(random.randint(0, 255))
for x in xrange(random.randint(minlen, maxlen))
])