summaryrefslogtreecommitdiff
path: root/tests/test_ext_napoleon_docstring.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-02-20 00:02:57 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-02-20 00:02:57 +0900
commit938ba386ed84f7fd3a106233ce52c52be5553dc7 (patch)
tree59c859904ed9df8f72d21ba701dcc82944b605da /tests/test_ext_napoleon_docstring.py
parentc95f538913010ab2efb00890a4adc3be01f77a4b (diff)
parent63f6603297fb0f38aa45882eb29328fe5208b37d (diff)
downloadsphinx-git-938ba386ed84f7fd3a106233ce52c52be5553dc7.tar.gz
Merge branch '1.7'
Diffstat (limited to 'tests/test_ext_napoleon_docstring.py')
-rw-r--r--tests/test_ext_napoleon_docstring.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py
index 73fec9eb8..d575117da 100644
--- a/tests/test_ext_napoleon_docstring.py
+++ b/tests/test_ext_napoleon_docstring.py
@@ -11,15 +11,14 @@
"""
from collections import namedtuple
-
-# inspect.cleandoc() implements the trim() function from PEP 257
from inspect import cleandoc
from textwrap import dedent
from unittest import TestCase
+import mock
+
from sphinx.ext.napoleon import Config
from sphinx.ext.napoleon.docstring import GoogleDocstring, NumpyDocstring
-import mock
class NamedtupleSubclass(namedtuple('NamedtupleSubclass', ('attr1', 'attr2'))):