From 81d0e2dc8e400824d222df073c64b43a65ee47aa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 1 Apr 2026 13:05:56 +0530 Subject: [PATCH] Cleanup previous PR --- docs/changelog.rst | 2 -- kitty_tests/dnd.py | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 6ae2dc015..e6d7d95cb 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -170,8 +170,6 @@ Detailed list of changes - A new option :opt:`palette_generate` to automatically generate the 256 color palette from the first 16 colors (:pull:`9426`) -- Add a testing framework for the :doc:`drag-and-drop protocol ` and tests covering the full drop flow, error handling, data integrity, MIME type negotiation, chunked transfer, and malformed-command handling - - For builtin key mappings automatically :ref:`fallback ` to matching the US-PC layout key when the pressed key has no matches and is a non-English character (:pull:`9671`) - Allow drag and drop of windows to re-arrange them, move them to another diff --git a/kitty_tests/dnd.py b/kitty_tests/dnd.py index ffa7a57d1..4350bdf3d 100644 --- a/kitty_tests/dnd.py +++ b/kitty_tests/dnd.py @@ -3,7 +3,7 @@ import errno import re -from base64 import standard_b64decode, standard_b64encode +from base64 import standard_b64decode from contextlib import contextmanager from kitty.fast_data_types import ( @@ -19,7 +19,6 @@ from kitty.fast_data_types import ( from . import BaseTest, parse_bytes - # ---- helpers ---------------------------------------------------------------- def _osc(payload: str) -> bytes: @@ -159,8 +158,6 @@ def dnd_test_window(): * ``screen`` – Screen object whose window_id matches the fake window * ``capture`` – _WriteCapture accumulating bytes sent to the child """ - from kitty.fast_data_types import get_options - from kitty.options.types import defaults capture = _WriteCapture() dnd_set_test_write_func(capture) os_window_id, window_id = dnd_test_create_fake_window()