summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 6197bc3..c37f330 100644
--- a/test/test.py
+++ b/test/test.py
@@ -34,7 +34,7 @@ PORT = 0
if sys.version_info >= (3, 0):
def data(string):
return bytes(string, 'latin1')
- bytes_0to255 = bytes([range(256)])
+ bytes_0to255 = bytes(range(256))
else:
def data(string): return string
bytes_0to255 = ''.join([chr(x) for x in range(256)])