From f93f07f650bf07d6ad36c0c2d2f9ed088a80bee6 2013-01-18 23:35:30 From: Piti Ongmongkolkul Date: 2013-01-18 23:35:30 Subject: [PATCH] couple more PEP8 in test --- 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()