summaryrefslogtreecommitdiff
path: root/tests/roots/test-add_source_parser/source_parser.py
diff options
context:
space:
mode:
authorTakayuki SHIMIZUKAWA <shimizukawa@gmail.com>2017-01-07 00:48:27 +0900
committerGitHub <noreply@github.com>2017-01-07 00:48:27 +0900
commit620616cdbd92147f6ea7bbeb670dc3a0562235ff (patch)
treed9e459cc62d2c1fe783aa665ab56680eca112ab6 /tests/roots/test-add_source_parser/source_parser.py
parent54c8c012228559c3bf30011977984a60a9299e9b (diff)
parent89e1df0bba58fc8d420fd9f293c4e325e06fc431 (diff)
downloadsphinx-git-620616cdbd92147f6ea7bbeb670dc3a0562235ff.tar.gz
Merge pull request #3302 from sphinx-doc/pytest-stable
pytest migration
Diffstat (limited to 'tests/roots/test-add_source_parser/source_parser.py')
-rw-r--r--tests/roots/test-add_source_parser/source_parser.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/roots/test-add_source_parser/source_parser.py b/tests/roots/test-add_source_parser/source_parser.py
new file mode 100644
index 000000000..0dff7e311
--- /dev/null
+++ b/tests/roots/test-add_source_parser/source_parser.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+
+from docutils.parsers import Parser
+
+
+class TestSourceParser(Parser):
+ pass
+
+
+def setup(app):
+ app.add_source_parser('.test', TestSourceParser)