From b6dbbcb3973ea200ababb49c7fff08e187d7bea8 Mon Sep 17 00:00:00 2001 From: patryk4815 Date: Mon, 10 Nov 2025 16:42:17 +0100 Subject: [PATCH] remove unneeded unit-tests for readline on py3.13 (#3400) --- tests/unit_tests/test_readline.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 tests/unit_tests/test_readline.py diff --git a/tests/unit_tests/test_readline.py b/tests/unit_tests/test_readline.py deleted file mode 100644 index b1a8ec39a..000000000 --- a/tests/unit_tests/test_readline.py +++ /dev/null @@ -1,21 +0,0 @@ -from __future__ import annotations - -import sys - -import pwndbg # noqa: F401 - -from .mocks import gdb # noqa: F401 -from .mocks import gdblib # noqa: F401 - - -def test_readline_not_imported(): - """ - Importing CPython readline breaks GDB's use of GNU readline. - This breaks GDB tab autocomplete. - - It's easy to accidentally import something that imports readline far down - the dependency chain. This test ensures we don't ever do that. - - For more info see https://github.com/pwndbg/pwndbg/issues/2232 - """ - assert "readline" not in sys.modules