diff --git a/IPython/core/tests/test_completer.py b/IPython/core/tests/test_completer.py index 4dd00ea..d663bde 100644 --- a/IPython/core/tests/test_completer.py +++ b/IPython/core/tests/test_completer.py @@ -303,15 +303,15 @@ def test_default_arguments_from_docstring(): c = ip.Completer kwd = c._default_arguments_from_docstring( 'min(iterable[, key=func]) -> value') - nt.assert_equal(kwd,['key']) + nt.assert_equal(kwd, ['key']) #with cython type etc kwd = c._default_arguments_from_docstring( 'Minuit.migrad(self, int ncall=10000, resume=True, int nsplit=1)\n') - nt.assert_equal(kwd,['ncall','resume','nsplit']) + nt.assert_equal(kwd, ['ncall', 'resume', 'nsplit']) #white spaces kwd = c._default_arguments_from_docstring( '\n Minuit.migrad(self, int ncall=10000, resume=True, int nsplit=1)\n') - nt.assert_equal(kwd,['ncall','resume','nsplit']) + nt.assert_equal(kwd, ['ncall', 'resume', 'nsplit']) def test_line_magics(): ip = get_ipython()