mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-25 22:50:22 -05:00
Fix comparer
This commit is contained in:
1 parent
0ae1bf6f03
commit
1e1fd2b67e
1 file changed
+1
-1
@@ -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 []
|
||||
Reference in new issue
Block a user