jira: Fix deprecation warning.

This commit is contained in:
pemontto 2020-04-27 13:46:04 +01:00 committed by Tim Abbott
parent bdf0c7ff5c
commit ae8a3516fb

View file

@ -106,7 +106,7 @@ Jira Bot:
def _test_invalid_config(self, invalid_config, error_message) -> None: def _test_invalid_config(self, invalid_config, error_message) -> None:
with self.mock_config_info(invalid_config), \ with self.mock_config_info(invalid_config), \
self.assertRaisesRegexp(KeyError, error_message): self.assertRaisesRegex(KeyError, error_message):
bot, bot_handler = self._get_handlers() bot, bot_handler = self._get_handlers()
def test_config_without_username(self) -> None: def test_config_without_username(self) -> None: