Skip to content

Commit fe0e843

Browse files
committed
fix: pylint errors
1 parent e5a255f commit fe0e843

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kubernetes_asyncio/watch/watch_test.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ async def test_unmarshall_k8s_error_response(self):
162162
}
163163
}
164164

165-
with self.assertRaisesRegex(kubernetes_asyncio.client.exceptions.ApiException,
166-
'\(410\)\nReason: Gone: too old resource version: 1 \(8146471\)'):
165+
with self.assertRaisesRegex(
166+
kubernetes_asyncio.client.exceptions.ApiException,
167+
r'\(410\)\nReason: Gone: too old resource version: 1 \(8146471\)'):
167168
Watch().unmarshal_event(json.dumps(k8s_err), None)
168169

169170
def test_unmarshal_with_custom_object(self):

0 commit comments

Comments
 (0)