diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 18:21:48 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-05-31 18:21:48 -0700 |
commit | 86815346590cc8c460a67ff2862c925c07214f09 (patch) | |
tree | 3fef6d43f5acc6e994c6b7cceb7ca832299e5b3a /tests/test_util.py | |
parent | 15aa741ba245b7384e6af4f4eb095431cfec4c19 (diff) | |
parent | 383e102b54464f2be8fe5aaa3b1e9bd94ad0b788 (diff) |
Merge branch '2.0'
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 = """ |