diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index 281ae6a60cd..7eb9080583c 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -1352,7 +1352,7 @@ def test_multiple_parameters(self): config = Config(napoleon_use_param=False) actual = str(NumpyDocstring(docstring, config)) expected = """\ -:Parameters: **x1, x2** (*array_like*) -- Input arrays, description of ``x1``, ``x2``. +:Parameters: **x1, x2** (:class:`array_like`) -- Input arrays, description of ``x1``, ``x2``. """ self.assertEqual(expected, actual) @@ -1360,9 +1360,9 @@ def test_multiple_parameters(self): actual = str(NumpyDocstring(dedent(docstring), config)) expected = """\ :param x1: Input arrays, description of ``x1``, ``x2``. -:type x1: array_like +:type x1: :class:`array_like` :param x2: Input arrays, description of ``x1``, ``x2``. -:type x2: array_like +:type x2: :class:`array_like` """ self.assertEqual(expected, actual)