Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-79871: IDLE - Fix test_debugger bug and buildbot failures #112258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
IDLE: Fix test_debugger.
Missing "requires('gui')" causes Tk() to fail when no gui.
IdbTest failed on draft Bdb replacement because so different.
  • Loading branch information
terryjreedy committed Nov 19, 2023
commit 77794fe4f72c53e9f4c0e9bafe2babb501beb5bf
7 changes: 3 additions & 4 deletions 7 Lib/idlelib/idle_test/test_debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ def setUpClass(cls):
cls.msg = 'file.py:2: <module>()'

def test_init(self):
# Test that Idb.__init_ calls Bdb.__init__.
idb = debugger.Idb(None)
self.assertIsNone(idb.gui)
self.assertTrue(hasattr(idb, 'breaks'))
self.assertIs(self.idb.gui, self.gui)


def test_user_line(self):
# Test that .user_line() creates a string message for a frame.
Expand Down Expand Up @@ -279,6 +277,7 @@ class NameSpaceTest(unittest.TestCase):

@classmethod
def setUpClass(cls):
requires('gui')
cls.root = Tk()
cls.root.withdraw()

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.