##// END OF EJS Templates
Fixed spacing in pandoc tests
Jonathan Frederic -
Show More
@@ -1,7 +1,7 b''
1 1 """Test Pandoc module"""
2 2
3 3 #-----------------------------------------------------------------------------
4 # Copyright (C) 2013 The IPython Development Team
4 # Copyright (C) 2014 The IPython Development Team
5 5 #
6 6 # Distributed under the terms of the BSD License. The full license is in
7 7 # the file COPYING, distributed as part of this software.
@@ -10,24 +10,16 b''
10 10 #-----------------------------------------------------------------------------
11 11 # Imports
12 12 #-----------------------------------------------------------------------------
13
14 13 import os
15 14
16 from .base import TestsBase
17 from ..utils import pandoc
18
19 15 from IPython.testing import decorators as dec
20 16
21 #-----------------------------------------------------------------------------
22 # Constants
23 #-----------------------------------------------------------------------------
24
17 from .base import TestsBase
18 from ..utils import pandoc
25 19
26 20 #-----------------------------------------------------------------------------
27 21 # Classes and functions
28 22 #-----------------------------------------------------------------------------
29
30
31 23 class TestPandoc(TestsBase):
32 24 """Collection of Pandoc tests"""
33 25
@@ -51,7 +43,6 b' class TestPandoc(TestsBase):'
51 43 assert pandoc_function_raised_missing(pandoc.check_pandoc_version) == False
52 44 assert pandoc_function_raised_missing(pandoc.pandoc, "", "markdown", "html") == False
53 45
54
55 46 @dec.onlyif_cmds_exist('pandoc')
56 47 def test_minimal_version(self):
57 48 original_minversion = pandoc._minimal_version
@@ -63,8 +54,6 b' class TestPandoc(TestsBase):'
63 54 assert pandoc.check_pandoc_version()
64 55
65 56
66
67
68 57 def pandoc_function_raised_missing(f, *args, **kwargs):
69 58 try:
70 59 f(*args, **kwargs)
General Comments 0
You need to be logged in to leave comments. Login now