Commit 38c3778b authored by Krzysztof Blazewicz's avatar Krzysztof Blazewicz Committed by Damien George
Browse files

tests/basics/string_join.py: Add test case where argument is not iterable.

parent 7e480e8a
......@@ -13,6 +13,11 @@ print(','.join('abc' for i in range(5)))
print(b','.join([b'abc', b'123']))
try:
''.join(None)
except TypeError:
print("TypeError")
try:
print(b','.join(['abc', b'123']))
except TypeError:
......
Supports Markdown
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