MCPcopy Create free account
hub / github.com/Pylons/webtest / test_dont_close

Method test_dont_close

tests/test_lint.py:295–297  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

293class TestErrorWrapper(unittest.TestCase):
294
295 def test_dont_close(self):
296 error_wrapper = ErrorWrapper(None)
297 self.assertRaises(AssertionError, error_wrapper.close)
298
299 class FakeError:
300 def __init__(self):

Callers

nothing calls this directly

Calls 1

ErrorWrapperClass · 0.90

Tested by

no test coverage detected