Add tests for str.strip

This commit is contained in:
xbe 2014-01-30 22:16:47 -08:00
parent 3f759b71c6
commit 65365778fd
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
print("".strip())
print(" \t\n\r\v\f".strip())
print(" T E S T".strip())
print("abcabc".strip("ce"))
print("aaa".strip("b"))
print("abc efg ".strip("g a"))