forked from pool/python-nose2
doctests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=14
19 lines
622 B
Diff
19 lines
622 B
Diff
Index: nose2-0.9.1/nose2/tests/functional/test_doctests_plugin.py
|
|
===================================================================
|
|
--- nose2-0.9.1.orig/nose2/tests/functional/test_doctests_plugin.py
|
|
+++ nose2-0.9.1/nose2/tests/functional/test_doctests_plugin.py
|
|
@@ -1,8 +1,13 @@
|
|
+import warnings
|
|
from nose2.tests._common import FunctionalTestCase, support_file
|
|
|
|
|
|
class TestDoctestsPlugin(FunctionalTestCase):
|
|
|
|
+ def setUp(self):
|
|
+ super(TestDoctestsPlugin, self).setUp()
|
|
+ warnings.simplefilter('ignore')
|
|
+
|
|
def test_simple(self):
|
|
proc = self.runIn(
|
|
'scenario/doctests',
|