diff options
Diffstat (limited to 'tests/mobly/controllers/android_device_lib/callback_handler_test.py')
-rwxr-xr-x | tests/mobly/controllers/android_device_lib/callback_handler_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mobly/controllers/android_device_lib/callback_handler_test.py b/tests/mobly/controllers/android_device_lib/callback_handler_test.py index 27f27b2..a30408f 100755 --- a/tests/mobly/controllers/android_device_lib/callback_handler_test.py +++ b/tests/mobly/controllers/android_device_lib/callback_handler_test.py @@ -47,7 +47,7 @@ class CallbackHandlerTest(unittest.TestCase): method_name=None, ad=mock.Mock()) self.assertEqual(handler.callback_id, MOCK_CALLBACK_ID) - with self.assertRaisesRegex(AttributeError, "can't set attribute"): + with self.assertRaises(AttributeError): handler.callback_id = 'ha' def test_event_dict_to_snippet_event(self): |