mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
Replace shlex with cross-platform oslex
This commit is contained in:
parent
5251a2452c
commit
d9aa3cb2d4
5 changed files with 11 additions and 9 deletions
|
@ -43,7 +43,7 @@ class TestLinter(unittest.TestCase):
|
|||
from pathlib import Path
|
||||
root = Path(__file__).parent.parent.parent.absolute().as_posix()
|
||||
linter = Linter(encoding="utf-8", root=root)
|
||||
result = linter.run_cmd("dir", "tests/basic", "code")
|
||||
result = linter.run_cmd("dir", "tests\\basic", "code")
|
||||
self.assertIsNone(result)
|
||||
|
||||
@patch("subprocess.Popen")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue