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

This commit is contained in:
Krzysztof Blazewicz 2017-03-04 12:34:58 +01:00 committed by Damien George
parent 7e480e8a30
commit 38c3778b27

View File

@ -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: