Skip to content
Snippets Groups Projects
Commit 620058cc authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add test for str.splitlines().

parent ac2f7a7f
No related branches found
No related tags found
No related merge requests found
try:
str.splitlines
except:
import sys
print("SKIP")
sys.exit()
print("foo\nbar".splitlines())
print("foo\nbar\n".splitlines())
print("foo\nbar".splitlines(True))
print("foo\nbar\n".splitlines(True))
print("foo\nbar".splitlines(keepends=True))
print("foo\nbar\n".splitlines(keepends=True))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment