We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1907b commit c2d6cfdCopy full SHA for c2d6cfd
tests/testsuite.py
@@ -109,7 +109,8 @@ def __call__(self, result):
109
.__call__(result)
110
111
def test_pass(self):
112
- pass
+ # it is expected not to be called.
113
+ pass # pragma: no cover
114
115
def setUp(self):
116
self.stream = StringIO()
@@ -218,7 +219,8 @@ def test_pass(self):
218
219
# Finally check if we have a valid XML document or not.
220
try:
221
minidom.parseString(output)
- except Exception as e:
222
+ except Exception as e: # pragma: no cover
223
+ # note: we could remove the try/except, but it's more crude.
224
self.fail(e)
225
226
def test_xmlrunner_unsafe_unicode(self):
0 commit comments