MCPcopy Create free account
hub / github.com/rthalley/dnspython / test_kwargs_unsupported

Method test_kwargs_unsupported

tests/test_exceptions.py:56–59  ·  view source on GitHub ↗

Only supported kwargs are accepted.

(self)

Source from the content-addressed store, hash-verified

54 raise FormatedError(1, a=2)
55
56 def test_kwargs_unsupported(self):
57 """Only supported kwargs are accepted."""
58 with self.assertRaises(AssertionError):
59 raise FormatedError(unsupported=2)
60
61
62if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

FormatedErrorClass · 0.85

Tested by

no test coverage detected