summaryrefslogtreecommitdiff
path: root/tests/test_ext_napoleon_docstring.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-12 02:50:43 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-12 02:50:43 +0900
commit279e547860ea68e3c357f55e608afec682a1f961 (patch)
treedc08e85ab0210538e30b5b801bf9d80ab49bfb3f /tests/test_ext_napoleon_docstring.py
parent859b5fcea71f8d4f46e0ef3726e68df54bfbc3b7 (diff)
parent64fb1e56242d93ee0e8c317ab9e7643242b99658 (diff)
downloadsphinx-git-279e547860ea68e3c357f55e608afec682a1f961.tar.gz
Merge branch '3.x'
Diffstat (limited to 'tests/test_ext_napoleon_docstring.py')
-rw-r--r--tests/test_ext_napoleon_docstring.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py
index 0ebc145b6..0d2f8727e 100644
--- a/tests/test_ext_napoleon_docstring.py
+++ b/tests/test_ext_napoleon_docstring.py
@@ -19,13 +19,9 @@ from unittest import TestCase, mock
import pytest
from sphinx.ext.napoleon import Config
-from sphinx.ext.napoleon.docstring import GoogleDocstring, NumpyDocstring
-from sphinx.ext.napoleon.docstring import (
- _tokenize_type_spec,
- _recombine_set_tokens,
- _convert_numpy_type_spec,
- _token_type
-)
+from sphinx.ext.napoleon.docstring import (GoogleDocstring, NumpyDocstring,
+ _convert_numpy_type_spec, _recombine_set_tokens,
+ _token_type, _tokenize_type_spec)
class NamedtupleSubclass(namedtuple('NamedtupleSubclass', ('attr1', 'attr2'))):