From 55e2f29170ba5ec3f4f6b9ac810d84317dfeb89c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 1 Mar 2014 08:42:35 +0100 Subject: [PATCH] fix windows newlines --- tests/roots/test-autosummary/conf.py | 10 ++--- tests/roots/test-autosummary/contents.rst | 12 +++--- tests/roots/test-autosummary/dummy_module.py | 42 ++++++++++---------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/tests/roots/test-autosummary/conf.py b/tests/roots/test-autosummary/conf.py index dc54762e9..542696e98 100644 --- a/tests/roots/test-autosummary/conf.py +++ b/tests/roots/test-autosummary/conf.py @@ -1,5 +1,5 @@ -extensions = ['sphinx.ext.autosummary'] - -# The suffix of source filenames. -source_suffix = '.rst' -autosummary_generate = True +extensions = ['sphinx.ext.autosummary'] + +# The suffix of source filenames. +source_suffix = '.rst' +autosummary_generate = True diff --git a/tests/roots/test-autosummary/contents.rst b/tests/roots/test-autosummary/contents.rst index 32390a32e..3f16af998 100644 --- a/tests/roots/test-autosummary/contents.rst +++ b/tests/roots/test-autosummary/contents.rst @@ -1,6 +1,6 @@ - -.. autosummary:: - :nosignatures: - :toctree: - - dummy_module + +.. autosummary:: + :nosignatures: + :toctree: + + dummy_module diff --git a/tests/roots/test-autosummary/dummy_module.py b/tests/roots/test-autosummary/dummy_module.py index 382e19db3..fd5449613 100644 --- a/tests/roots/test-autosummary/dummy_module.py +++ b/tests/roots/test-autosummary/dummy_module.py @@ -1,21 +1,21 @@ - -def withSentence(): - '''I have a sentence which - spans multiple lines. Then I have - more stuff - ''' - pass - -def noSentence(): - '''this doesn't start with a - capital. so it's not considered - a sentence - ''' - pass - -def emptyLine(): - '''This is the real summary - - However, it did't end with a period. - ''' - pass + +def withSentence(): + '''I have a sentence which + spans multiple lines. Then I have + more stuff + ''' + pass + +def noSentence(): + '''this doesn't start with a + capital. so it's not considered + a sentence + ''' + pass + +def emptyLine(): + '''This is the real summary + + However, it did't end with a period. + ''' + pass