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

Method ignoreWarning

tests/Framework.py:532–535  ·  view source on GitHub ↗
(self, category=Warning, module="")

Source from the content-addressed store, hash-verified

530
531 @contextlib.contextmanager
532 def ignoreWarning(self, category=Warning, module=""):
533 with warnings.catch_warnings():
534 warnings.filterwarnings("ignore", category=category, module=module)
535 yield
536
537 @contextlib.contextmanager
538 def replayData(self, filename: str):

Calls

no outgoing calls

Tested by

no test coverage detected