diff --git a/tests/test_main.py b/tests/test_main.py index ef152605b..a80221ee7 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -3,6 +3,8 @@ import sys import tempfile from unittest import TestCase from aider.main import main +import subprocess + class TestMain(TestCase): def test_main_with_empty_dir_no_files_on_command(self): @@ -24,8 +26,6 @@ class TestMain(TestCase): sys.stdin = save_stdin self.assertTrue(os.path.exists('foo.txt')) - import subprocess - def test_main_with_empty_git_dir_new_file(self): with tempfile.TemporaryDirectory() as temp_dir: os.chdir(temp_dir)