summaryrefslogtreecommitdiffhomepage
path: root/tests/test_util.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-05-31 17:30:17 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-05-31 17:31:22 -0700
commit9d5760cf45619ce5aacb567fdc42849d678d93eb (patch)
tree8942388ed983db8e6381117cc6e7c2c469466f6a /tests/test_util.py
parente2497717d25280ab49d0ce6ce54b52cf47451923 (diff)
Additional house style formatting tweaks, mostly re: removal of line continuations
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index a31e4507..7880e156 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -475,9 +475,10 @@ Host param3 parara
safe_has_bytes = safe_string(has_bytes)
expected_bytes = b("has %07%03 bytes")
err = "{0!r} != {1!r}"
- assert safe_vanilla == vanilla, err.format(safe_vanilla, vanilla)
- assert safe_has_bytes == expected_bytes, \
- err.format(safe_has_bytes, expected_bytes)
+ msg = err.format(safe_vanilla, vanilla)
+ assert safe_vanilla == vanilla, msg
+ msg = err.format(safe_has_bytes, expected_bytes)
+ assert safe_has_bytes == expected_bytes, msg
def test_proxycommand_none_issue_418(self):
test_config_file = """