From ae8a3516fb0aabe2f65a22ba86c1a5510fc6c5f1 Mon Sep 17 00:00:00 2001 From: pemontto Date: Mon, 27 Apr 2020 13:46:04 +0100 Subject: [PATCH] jira: Fix deprecation warning. --- zulip_bots/zulip_bots/bots/jira/test_jira.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip_bots/zulip_bots/bots/jira/test_jira.py b/zulip_bots/zulip_bots/bots/jira/test_jira.py index 362490a..bc0767f 100644 --- a/zulip_bots/zulip_bots/bots/jira/test_jira.py +++ b/zulip_bots/zulip_bots/bots/jira/test_jira.py @@ -106,7 +106,7 @@ Jira Bot: def _test_invalid_config(self, invalid_config, error_message) -> None: with self.mock_config_info(invalid_config), \ - self.assertRaisesRegexp(KeyError, error_message): + self.assertRaisesRegex(KeyError, error_message): bot, bot_handler = self._get_handlers() def test_config_without_username(self) -> None: