Skip to content

Commit 1e2f829

Browse files
committed
tests/basics/string_splitlines: Reinstate feature test for splitlines.
1 parent cc80c4d commit 1e2f829

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/basics/string_splitlines.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# test string.splitlines() method
22

3+
try:
4+
str.splitlines
5+
except:
6+
import sys
7+
print("SKIP")
8+
sys.exit()
9+
310
# test \n as newline
411
print("foo\nbar".splitlines())
512
print("foo\nbar\n".splitlines())

0 commit comments

Comments
 (0)