Browse Source

Add tests for str.strip

pull/244/head
xbe 11 years ago
parent
commit
65365778fd
  1. 6
      tests/basics/string_strip.py

6
tests/basics/string_strip.py

@ -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"))
Loading…
Cancel
Save