Merge pull request #7211 from tk0miya/fix_comparer

Fix comparer
This commit is contained in:
Takeshi KOMIYA 2020-02-24 02:18:32 +09:00 committed by GitHub
commit 078c626408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,4 +100,4 @@ def pytest_assertrepr_compare(op: str, left: Any, right: Any) -> List[str]:
elif isinstance(right, PathComparer) and op == "==":
return ['Comparing path:'] + right.rdiff(left)
else:
raise RuntimeError
return []