from hypothesis_auto import auto_pytest_magic

from isort import comments

auto_pytest_magic(comments.parse)
auto_pytest_magic(comments.add_to_line)

from hypothesis_auto import auto_pytest_magic

from isort import comments

auto_pytest_magic(comments.parse)
auto_pytest_magic(comments.add_to_line)


def test_add_to_line():
    assert comments.add_to_line([], "import os  # comment", removed=True).strip() == "import os"

Add additional test case for comments
Add additional test case for comments

  from hypothesis_auto import auto_pytest_magic
  
  from isort import comments
  
  auto_pytest_magic(comments.parse)
  auto_pytest_magic(comments.add_to_line)
  
+ 
+ def test_add_to_line():
+     assert comments.add_to_line([], "import os  # comment", removed=True).strip() == "import os"
+ 
Add additional test case for comments
## Code Before:
from hypothesis_auto import auto_pytest_magic

from isort import comments

auto_pytest_magic(comments.parse)
auto_pytest_magic(comments.add_to_line)

## Instruction:
Add additional test case for comments
## Code After:
from hypothesis_auto import auto_pytest_magic

from isort import comments

auto_pytest_magic(comments.parse)
auto_pytest_magic(comments.add_to_line)


def test_add_to_line():
    assert comments.add_to_line([], "import os  # comment", removed=True).strip() == "import os"
