mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
Add tests for str.strip
This commit is contained in:
6
tests/basics/string_strip.py
Normal file
6
tests/basics/string_strip.py
Normal 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"))
|
||||
Reference in New Issue
Block a user