Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
65365778
Commit
65365778
authored
Jan 30, 2014
by
xbe
Browse files
Add tests for str.strip
parent
3f759b71
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/basics/string_strip.py
0 → 100644
View file @
65365778
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"
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment