mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 21:04:59 +00:00
fix: Remove unused repo
variable in test_cmd_add_gitignored_file
This commit is contained in:
parent
20d87e1136
commit
533613d92b
1 changed files with 1 additions and 3 deletions
|
@ -1212,9 +1212,7 @@ class TestCommands(TestCase):
|
||||||
|
|
||||||
def test_cmd_add_gitignored_file(self):
|
def test_cmd_add_gitignored_file(self):
|
||||||
with GitTemporaryDirectory():
|
with GitTemporaryDirectory():
|
||||||
repo = git.Repo()
|
# Create a .gitignore file
|
||||||
|
|
||||||
# Create and commit a .gitignore file
|
|
||||||
gitignore = Path(".gitignore")
|
gitignore = Path(".gitignore")
|
||||||
gitignore.write_text("*.ignored\n")
|
gitignore.write_text("*.ignored\n")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue