Fix #4093: multiple string literals on a line
This commit is contained in:
@@ -246,7 +246,7 @@ class TestCustomAssertMsg(object):
|
||||
|
||||
b = 2
|
||||
assert A.a == b, (
|
||||
"A.a appears not to be b\n" "or does not appear to be b\none of those"
|
||||
"A.a appears not to be b\nor does not appear to be b\none of those"
|
||||
)
|
||||
|
||||
def test_custom_repr(self):
|
||||
|
||||
@@ -582,7 +582,7 @@ get on the terminal - we are working on that)::
|
||||
b = 2
|
||||
> assert (
|
||||
A.a == b
|
||||
), "A.a appears not to be b\n" "or does not appear to be b\none of those"
|
||||
), "A.a appears not to be b\nor does not appear to be b\none of those"
|
||||
E AssertionError: A.a appears not to be b
|
||||
E or does not appear to be b
|
||||
E one of those
|
||||
|
||||
Reference in New Issue
Block a user