Fix comparer

This commit is contained in:
Takeshi KOMIYA committed 2020-02-23 23:43:35 +09:00
1 parent 0ae1bf6f03
commit 1e1fd2b67e
1 file changed
+1 -1
+1 -1
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 []