Commit 620058cc authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add test for str.splitlines().

parent ac2f7a7f
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))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment