Show More
@@ -109,7 +109,7 b' ONLY_EMPTY_LINES = ("""\\' | |||||
109 |
|
109 | |||
110 | """) |
|
110 | """) | |
111 |
|
111 | |||
112 | def leading_empty_lines(): |
|
112 | def test_leading_empty_lines(): | |
113 | for sample, expected in [LEADING_EMPTY_LINES, ONLY_EMPTY_LINES]: |
|
113 | for sample, expected in [LEADING_EMPTY_LINES, ONLY_EMPTY_LINES]: | |
114 | nt.assert_equal( |
|
114 | nt.assert_equal( | |
115 | ipt2.leading_empty_lines(sample.splitlines(keepends=True)), |
|
115 | ipt2.leading_empty_lines(sample.splitlines(keepends=True)), |
General Comments 0
You need to be logged in to leave comments.
Login now