File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ def test_call_mro():
459459 assert (c <= 2 ) == 1
460460 with pytest .raises (
461461 NotFoundLookupError ,
462- match = r"(?i)^`C.__le__\(.+\)` could not be\n?\ s*resolved" ,
462+ match = r"(?i)^`C\ .__le__\(.+\)` could not\s* be\s*resolved.* " ,
463463 ):
464464 c <= "2" # noqa
465465
@@ -479,15 +479,15 @@ def test_call_abstract():
479479def test_call_object ():
480480 with pytest .raises (
481481 NotFoundLookupError ,
482- match = r"(?is)^`B.__init__\(.+\)` could not be\n?\ s*resolved" ,
482+ match = r"(?is)^`B\ .__init__\(.+\)` could not\s* be\s*resolved.* " ,
483483 ):
484484 # Construction requires no arguments. Giving an argument should propagate to
485485 # `B` and then error.
486486 C (1 )
487487
488488 with pytest .raises (
489489 NotFoundLookupError ,
490- match = r"(?is)^`C.__call__\(.+\)` could not be\n?\ s*resolved" ,
490+ match = r"(?is)^`C\ .__call__\(.+\)` could not\s* be\s*resolved.* " ,
491491 ):
492492 # Calling requires no arguments.
493493 C ()(1 )
You can’t perform that action at this time.
0 commit comments