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