diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-06-06 11:43:15 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-06-06 11:43:15 -0700 |
commit | 357ac45b49a888eaacf7efde272b8edcf7b55a93 (patch) | |
tree | 9765928c142ffbdb68958b60d08a4b9180946d34 /tests/test_util.py | |
parent | 8eb2775f958ccdb3c4fcb06047a19b985ad5f26a (diff) | |
parent | 54b387833aca45a62011afbce91018023e3e9973 (diff) |
Merge branch 'master' into 951-int
Diffstat (limited to 'tests/test_util.py')
-rw-r--r-- | tests/test_util.py | 7 |
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 = """ |