summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/enum.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-08-03 02:30:25 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-08-03 02:30:30 +0900
commitc0157cf074a813979c46f68e3bdcfa248e0bf16e (patch)
tree356983749fb95944324d76696de7fb151e0f79be /tests/roots/test-ext-autodoc/target/enum.py
parent57af8288826f9a37cb3ba3008fb36278ecbae81f (diff)
downloadsphinx-git-c0157cf074a813979c46f68e3bdcfa248e0bf16e.tar.gz
refactor: test: Rename target.enum to target.enums
Using "enum" for module name bothers me on debugging errors because it sometimes raises ImportError.
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/enum.py')
-rw-r--r--tests/roots/test-ext-autodoc/target/enum.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/roots/test-ext-autodoc/target/enum.py b/tests/roots/test-ext-autodoc/target/enum.py
deleted file mode 100644
index c69455fb7..000000000
--- a/tests/roots/test-ext-autodoc/target/enum.py
+++ /dev/null
@@ -1,23 +0,0 @@
-import enum
-
-
-class EnumCls(enum.Enum):
- """
- this is enum class
- """
-
- #: doc for val1
- val1 = 12
- val2 = 23 #: doc for val2
- val3 = 34
- """doc for val3"""
- val4 = 34
-
- def say_hello(self):
- """a method says hello to you."""
- pass
-
- @classmethod
- def say_goodbye(cls):
- """a classmethod says good-bye to you."""
- pass