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 and test debugger module #11451

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 51 commits into from
Nov 19, 2023
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
bbb58e8
start setting up tests for the Idb module
tonybaloney Jan 6, 2019
525efbc
handle NoneType in frame.f_back (first frame in session) and call bdb…
tonybaloney Jan 6, 2019
83aeefa
add a test for Idb to ensure calling super. Add a test to check the h…
tonybaloney Jan 6, 2019
d01dcdb
add test for user_exception to validate passing of exc_info to gui in…
tonybaloney Jan 6, 2019
6a123ef
add tests for in_rpc_code to catch various frame file names
tonybaloney Jan 6, 2019
e5e882c
add some PEP8 compliant line breaks
tonybaloney Jan 6, 2019
35915da
setup tests for the debugger.Debugger class
tonybaloney Jan 7, 2019
dbb5c7e
add tests for run with and without an idb instance set on init
tonybaloney Jan 7, 2019
2929019
add tests for interaction, which are currently demonstrating a bug in…
tonybaloney Jan 7, 2019
bbe4300
Bdb expects an instance attribute called 'botframe', which is set by …
tonybaloney Jan 7, 2019
4957496
remove empty single line comments
tonybaloney Jan 7, 2019
fbf1cac
add tests for the basic operations
tonybaloney Jan 7, 2019
2b42337
finished tests for Debugger
tonybaloney Jan 7, 2019
56741f1
add a constructor for MockFrameType to condense the code
tonybaloney Jan 7, 2019
8d015ce
add tests for show_source and load_stack for the StackViewer class
tonybaloney Jan 7, 2019
4807556
remove line comment
tonybaloney Jan 7, 2019
88e5f91
📜🤖 Added by blurb_it.
blurb-it[bot] Jan 7, 2019
0df2512
fixed references to .assertEquals, moved code into setup and teardown…
tonybaloney Jan 10, 2019
dfe6db9
cleanupm stackviewer tests and use Tk instance
tonybaloney Jan 10, 2019
2b9a43a
untoggle the gui requirement
tonybaloney Jan 10, 2019
5ae4060
Change the single-line docstrings to comments
tonybaloney Apr 4, 2019
14b908f
Removed the 2 interaction tests because they cause the UI to wait for…
tonybaloney Apr 5, 2019
ae491f4
Fix the test assertions and use stacked frames when testing debugging…
tonybaloney Apr 5, 2019
bc28ced
Make the test vaguer so that if the coverage checks pass it doesn't i…
tonybaloney Apr 5, 2019
9333fcf
Clean up attributes in memory and split tests between those which nee…
tonybaloney Apr 5, 2019
046fe00
Merge branch 'main' into idlelib_tests
terryjreedy Nov 14, 2023
daa2015
Update Misc/NEWS.d/next/IDLE/2019-01-07-06-18-25.bpo-35668.JimxP5.rst
terryjreedy Nov 14, 2023
37afb53
Update 2019-01-07-06-18-25.bpo-35668.JimxP5.rst
terryjreedy Nov 14, 2023
f4c3c00
Merge remote-tracking branch 'upstream/main' into pr_11451
terryjreedy Nov 15, 2023
e9d0e4e
Add comment to stackviewer.
terryjreedy Nov 15, 2023
3b97b55
Add debugger module docstrings and revise those for Idb.
terryjreedy Nov 15, 2023
d989bfa
Fix test failures by using 'assert_called_once_with'.
terryjreedy Nov 15, 2023
22e8249
Remove duplicate test.
terryjreedy Nov 15, 2023
2611447
Merge remote-tracking branch 'upstream/main' into pr_11451
terryjreedy Nov 15, 2023
f9f1a22
Remove added 'botframe' initialization as very likely not needed.
terryjreedy Nov 16, 2023
a202f4f
Move function frame2message to module level.
terryjreedy Nov 16, 2023
597cbba
IDLE style is no newline to start docstring.
terryjreedy Nov 16, 2023
0a53cd1
Change 'doc string' to 'Doc string.'
terryjreedy Nov 16, 2023
114d686
Remove unneeded Ibd setups and teardowns.
terryjreedy Nov 16, 2023
1c1107d
Polish IdbTest.
terryjreedy Nov 16, 2023
ed58072
Make in_rpc_code a module function, like frame2message.
terryjreedy Nov 16, 2023
d541302
Add FunctionTest
terryjreedy Nov 16, 2023
df1936f
Refactor IdbTest.
terryjreedy Nov 16, 2023
fedfbc0
FunctionTest comment
terryjreedy Nov 16, 2023
a731e63
Use False, True for Debugger().interacting.
terryjreedy Nov 16, 2023
9eb6548
Modify Debugger tests
terryjreedy Nov 16, 2023
0454ea5
Import Mock and patch, refactor to run many tests without gui.
terryjreedy Nov 16, 2023
63008a5
Put no-gui tests first, fix breakpoints, work on gui tests.
terryjreedy Nov 19, 2023
fe14bb8
Tests pass.
terryjreedy Nov 19, 2023
fd7e259
Merge branch 'main' into idlelib_tests
terryjreedy Nov 19, 2023
5fe9868
ws
terryjreedy Nov 19, 2023
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
Prev Previous commit
Next Next commit
untoggle the gui requirement
  • Loading branch information
tonybaloney committed Jan 10, 2019
commit 2b9a43a49cceef2ce8a27c405783248f7e723d1f
2 changes: 1 addition & 1 deletion 2 Lib/idlelib/idle_test/test_debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import unittest
from unittest import mock
from test.support import requires
#requires('gui')
requires('gui')
from tkinter import Tk
from textwrap import dedent

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