(self)
| 1176 | self.check_update(key, [top, bot]) |
| 1177 | |
| 1178 | def test_update_exceptions(self): |
| 1179 | h = self.HMAC(b"key") |
| 1180 | for msg in ['invalid msg', 123, (), []]: |
| 1181 | with self.subTest(msg=msg): |
| 1182 | self.assertRaises(TypeError, h.update, msg) |
| 1183 | |
| 1184 | |
| 1185 | @requires_builtin_sha2() |
nothing calls this directly
no test coverage detected