##// END OF EJS Templates
fix test for pandoc 1.9.3
Matthias BUSSONNIER -
Show More
@@ -27,6 +27,10 b' def test_evens():'
27 27 yield test_conversion, conv,root+'.ipynb',root+'.'+ext
28 28
29 29 @nottest
30 def compfiles(stra, strb):
31 nt.assert_equal(map(unicode.strip,stra.split('\n')),map(unicode.strip,strb.split('\n')))
32
33 @nottest
30 34 def test_conversion(ConverterClass, ipynb, ref_file):
31 35
32 36 converter = ConverterClass(ipynb)
@@ -34,6 +38,6 b' def test_conversion(ConverterClass, ipynb, ref_file):'
34 38 cv =converter.convert()
35 39 with io.open(ref_file) as ref:
36 40 value = ref.read()
37 nt.assert_equal(cv.split('\n'),value.split('\n'))
41 compfiles(cv,value)
38 42
39 43
General Comments 0
You need to be logged in to leave comments. Login now