From 6ccdbd3731df39544c245daa1c3acba9fedbd7a5 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 1 Feb 2021 10:47:54 +0000 Subject: Address nits from six removal patch Change-Id: Ia487c2961849a1d42eb72b2a69c360ea638f9d1b Signed-off-by: Stephen Finucane --- oslo_utils/tests/test_reflection.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'oslo_utils/tests/test_reflection.py') diff --git a/oslo_utils/tests/test_reflection.py b/oslo_utils/tests/test_reflection.py index f104a87..880e3b8 100644 --- a/oslo_utils/tests/test_reflection.py +++ b/oslo_utils/tests/test_reflection.py @@ -22,8 +22,9 @@ from oslotest import base as test_base from oslo_utils import reflection -RUNTIME_ERROR_CLASSES = ['RuntimeError', 'Exception', - 'BaseException', 'object'] +RUNTIME_ERROR_CLASSES = [ + 'RuntimeError', 'Exception', 'BaseException', 'object', +] def dummy_decorator(f): @@ -187,8 +188,7 @@ class GetCallableNameTest(test_base.BaseTestCase): def test_static_method(self): name = reflection.get_callable_name(Class.static_method) - self.assertEqual('.'.join((__name__, 'Class', 'static_method')), - name) + self.assertEqual('.'.join((__name__, 'Class', 'static_method')), name) def test_class_method(self): name = reflection.get_callable_name(Class.class_method) -- cgit v1.2.1