Fix order of format args with warning

This commit is contained in:
Daniel Hahler
2019-10-28 12:34:40 +01:00
parent 8aa0809fbc
commit 2e5cf1cc78
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ def on_rm_rf_error(func, path: str, exc, *, start_path: Path) -> bool:
warnings.warn(
PytestWarning(
"(rm_rf) unknown function {} when removing {}:\n{}: {}".format(
path, func, exctype, excvalue
func, path, exctype, excvalue
)
)
)