mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 04:44:59 +00:00
rename did not help
This commit is contained in:
parent
2b69c11672
commit
656af5cd83
1 changed files with 1 additions and 5 deletions
|
@ -202,11 +202,7 @@ class TestCoder(unittest.TestCase):
|
|||
coder.run(with_message="hi")
|
||||
self.assertEqual(len(coder.abs_fnames), 2)
|
||||
|
||||
# move the file
|
||||
# os.remove() causes PermErr on Windows!
|
||||
# PermissionError: [WinError 32] The process cannot access the file because
|
||||
# it is being used by another process
|
||||
os.rename(file1, file1 + ".renamed")
|
||||
os.remove(file1)
|
||||
|
||||
# Call the run method again with a message
|
||||
coder.run(with_message="hi")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue