MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testShouldCreateExceptionWithoutMessage

Method testShouldCreateExceptionWithoutMessage

tests/Requester.py:553–557  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

551 )
552
553 def testShouldCreateExceptionWithoutMessage(self):
554 for status in range(400, 600):
555 with self.subTest(status=status):
556 exc = self.g._Github__requester.createException(status, {}, {})
557 self.assertException(exc, github.GithubException, None, status, {}, {}, f"{status} {{}}")
558
559 def testShouldCreateExceptionWithoutOutput(self):
560 for status in range(400, 600):

Callers

nothing calls this directly

Calls 2

assertExceptionMethod · 0.95
createExceptionMethod · 0.80

Tested by

no test coverage detected