diff options
author | jpellerin <devnull@localhost> | 2009-10-17 02:54:39 -0400 |
---|---|---|
committer | jpellerin <devnull@localhost> | 2009-10-17 02:54:39 -0400 |
commit | 6a99019467d83338f0e820db25b0b0c170cdb42f (patch) | |
tree | 19d33f140f1768be725e1109fb27534a57b6dad9 /functional_tests/doc_tests | |
parent | 5c5ba6eaf9d48effbdad3a18244e280d6f88a16e (diff) | |
download | nose-6a99019467d83338f0e820db25b0b0c170cdb42f.tar.gz |
Fixed some more 2.7 failures
Diffstat (limited to 'functional_tests/doc_tests')
-rw-r--r-- | functional_tests/doc_tests/test_init_plugin/init_plugin.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functional_tests/doc_tests/test_init_plugin/init_plugin.rst b/functional_tests/doc_tests/test_init_plugin/init_plugin.rst index fd2d268..4eaf0f6 100644 --- a/functional_tests/doc_tests/test_init_plugin/init_plugin.rst +++ b/functional_tests/doc_tests/test_init_plugin/init_plugin.rst @@ -32,6 +32,9 @@ raising any exceptions. ... def test_likes_cheese(self): ... """Widgets might like cheese""" ... self.widget.likes_cheese() + ... def shortDescription(self): # 2.7 compat + ... doc = self._testMethodDoc + ... return doc and doc.split("\n")[0].strip() or None The tests are bundled into a suite that we can pass to the test runner. |