mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
style: Format test_io.py to comply with linter rules
This commit is contained in:
parent
fa80d2f3cc
commit
ebb38c6518
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ class TestInputOutput(unittest.TestCase):
|
|||
# Test valid line endings
|
||||
for ending in ["platform", "lf", "crlf"]:
|
||||
io = InputOutput(line_endings=ending)
|
||||
self.assertEqual(io.newline, None if ending == "platform" else "\n" if ending == "lf" else "\r\n")
|
||||
self.assertEqual(
|
||||
io.newline, None if ending == "platform" else "\n" if ending == "lf" else "\r\n"
|
||||
)
|
||||
|
||||
# Test invalid line endings
|
||||
with self.assertRaises(ValueError) as cm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue