Skip to content

Commit 72a6884

Browse files
committed
test(tests/test_text_editor.py): remove unnecessary blank lines for improved readability and maintainability of the test code
1 parent d63e657 commit 72a6884

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_text_editor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,15 +894,15 @@ def mock_open(*args, **kwargs):
894894
@pytest.mark.asyncio
895895
async def test_initialization_with_environment_error(monkeypatch):
896896
"""Test TextEditor initialization when environment validation fails."""
897-
897+
898898
def mock_validate_environment(self):
899899
raise EnvironmentError("Failed to validate environment")
900-
900+
901901
# Patch the _validate_environment method
902902
monkeypatch.setattr(TextEditor, "_validate_environment", mock_validate_environment)
903-
903+
904904
# Verify that initialization fails with the expected error
905905
with pytest.raises(EnvironmentError) as excinfo:
906906
TextEditor()
907-
907+
908908
assert "Failed to validate environment" in str(excinfo.value)

0 commit comments

Comments
 (0)