Commit bf80540e authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent dc320e05
......@@ -14,7 +14,8 @@ def for_in_bytes(bytes s):
'C'
"""
for c in s:
if c == b'C':
# Py2/Py3
if c == b'C' or c == c'C':
return 'C'
else:
return 'X'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment