##// END OF EJS Templates
don't compare empty lines (stupid pandoc)
Bussonnier Matthias -
Show More
@@ -5,6 +5,10 b' from converters import ('
5 ConverterLaTeX, ConverterMarkdown, ConverterPy, ConverterHTML
5 ConverterLaTeX, ConverterMarkdown, ConverterPy, ConverterHTML
6 )
6 )
7
7
8 @nottest
9 def cleanfile(stn):
10 return filter(None, map(unicode.strip, stn.split('\n')))
11
8
12
9 def test_evens():
13 def test_evens():
10 ######
14 ######
@@ -33,8 +37,8 b' def test_evens():'
33
37
34 @nottest
38 @nottest
35 def compfiles(stra, strb):
39 def compfiles(stra, strb):
36 nt.assert_equal(map(unicode.strip, stra.split('\n')),
40 nt.assert_equal(cleanfile(stra),
37 map(unicode.strip, strb.split('\n')))
41 cleanfile(strb))
38
42
39
43
40 @nottest
44 @nottest
General Comments 0
You need to be logged in to leave comments. Login now