From a7361cd2bc3909e13a6a6d0632c25cc2e1764fdc 2013-03-09 17:40:44 From: Matthias BUSSONNIER Date: 2013-03-09 17:40:44 Subject: [PATCH] fix failing deprecated test --- diff --git a/converters/base.py b/converters/base.py index da3e9cf..6d1cf74 100755 --- a/converters/base.py +++ b/converters/base.py @@ -143,7 +143,7 @@ class Converter(Configurable): raw_as_verbatim = False - def __init__(self, infile=None, config=None, exclude=[], **kw): + def __init__(self, infile='', config=None, exclude=[], **kw): super(Converter,self).__init__(config=config) #DocStringInheritor.__init__(self=config) diff --git a/tests/test_simple.py b/tests/test_simple.py index 6bc5c87..b91b938 100644 --- a/tests/test_simple.py +++ b/tests/test_simple.py @@ -1,4 +1,4 @@ -from nbconvert import main, converters , NbconvertApp +from nbconvert import converters, NbconvertApp from converters.rst import ConverterRST import nose.tools as nt