Fix comparer

This commit is contained in:
Takeshi KOMIYA
2020-02-23 23:43:35 +09:00
parent 0ae1bf6f03
commit 1e1fd2b67e

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 []