2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-11 05:43:14 +00:00

Remove invalid escape sequences

A recent style update to Python 3.6 adds deprecation W605, which
tightens the usage of invalid escape sequences. This patch removes
any instances of invalid escape sequences from the PyKMIP code
base, bringing the library back up to compliance with Python style.
This commit is contained in:
Peter Hamilton
2018-11-15 13:53:06 -05:00
parent 0819574424
commit 8abe3de8cb
3 changed files with 3 additions and 3 deletions

View File

@@ -4108,7 +4108,7 @@ class TestKmipEngine(testtools.TestCase):
self.assertRaisesRegexp(
exceptions.InvalidField,
"The cryptographic length must correspond to a valid number of "
"bytes \(i.e., it must be a multiple of 8\).",
"bytes; it must be a multiple of 8.",
e._process_derive_key,
*args
)