diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 18:22:18 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 18:22:18 -0700 |
commit | a856ae02cab32b55847474241ccf36664ad584af (patch) | |
tree | ea02103dc3b25a72ffad3109e350bff10acde687 /tests/test_util.py | |
parent | a80bbe0e2dd8768e93feba72f8eeacbe1378262f (diff) | |
parent | 383e102b54464f2be8fe5aaa3b1e9bd94ad0b788 (diff) |
Merge branch '2.0' into 2.1
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 = """ |