Skip to content

Commit 4b62aa9

Browse files
committedMar 14, 2025
and last - dont need an argument to unlink() (NO_JIRA)
1 parent 3ffff0b commit 4b62aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎main/githooks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def test_trim_trailing_whitespace(self):
477477
retval = trim_trailing_whitespace_in_file(name, True, True)
478478
self.assertEqual(retval, 0)
479479
finally:
480-
Path(name).unlink(name)
480+
Path(name).unlink()
481481

482482

483483
def test_decodeerror(self):

0 commit comments

Comments
 (0)