-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
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 525efbc
handle NoneType in frame.f_back (first frame in session) and call bdb…
tonybaloney 83aeefa
add a test for Idb to ensure calling super. Add a test to check the h…
tonybaloney d01dcdb
add test for user_exception to validate passing of exc_info to gui in…
tonybaloney 6a123ef
add tests for in_rpc_code to catch various frame file names
tonybaloney e5e882c
add some PEP8 compliant line breaks
tonybaloney 35915da
setup tests for the debugger.Debugger class
tonybaloney dbb5c7e
add tests for run with and without an idb instance set on init
tonybaloney 2929019
add tests for interaction, which are currently demonstrating a bug in…
tonybaloney bbe4300
Bdb expects an instance attribute called 'botframe', which is set by …
tonybaloney 4957496
remove empty single line comments
tonybaloney fbf1cac
add tests for the basic operations
tonybaloney 2b42337
finished tests for Debugger
tonybaloney 56741f1
add a constructor for MockFrameType to condense the code
tonybaloney 8d015ce
add tests for show_source and load_stack for the StackViewer class
tonybaloney 4807556
remove line comment
tonybaloney 88e5f91
📜🤖 Added by blurb_it.
blurb-it[bot] 0df2512
fixed references to .assertEquals, moved code into setup and teardown…
tonybaloney dfe6db9
cleanupm stackviewer tests and use Tk instance
tonybaloney 2b9a43a
untoggle the gui requirement
tonybaloney 5ae4060
Change the single-line docstrings to comments
tonybaloney 14b908f
Removed the 2 interaction tests because they cause the UI to wait for…
tonybaloney ae491f4
Fix the test assertions and use stacked frames when testing debugging…
tonybaloney bc28ced
Make the test vaguer so that if the coverage checks pass it doesn't i…
tonybaloney 9333fcf
Clean up attributes in memory and split tests between those which nee…
tonybaloney 046fe00
Merge branch 'main' into idlelib_tests
terryjreedy daa2015
Update Misc/NEWS.d/next/IDLE/2019-01-07-06-18-25.bpo-35668.JimxP5.rst
terryjreedy 37afb53
Update 2019-01-07-06-18-25.bpo-35668.JimxP5.rst
terryjreedy f4c3c00
Merge remote-tracking branch 'upstream/main' into pr_11451
terryjreedy e9d0e4e
Add comment to stackviewer.
terryjreedy 3b97b55
Add debugger module docstrings and revise those for Idb.
terryjreedy d989bfa
Fix test failures by using 'assert_called_once_with'.
terryjreedy 22e8249
Remove duplicate test.
terryjreedy 2611447
Merge remote-tracking branch 'upstream/main' into pr_11451
terryjreedy f9f1a22
Remove added 'botframe' initialization as very likely not needed.
terryjreedy a202f4f
Move function frame2message to module level.
terryjreedy 597cbba
IDLE style is no newline to start docstring.
terryjreedy 0a53cd1
Change 'doc string' to 'Doc string.'
terryjreedy 114d686
Remove unneeded Ibd setups and teardowns.
terryjreedy 1c1107d
Polish IdbTest.
terryjreedy ed58072
Make in_rpc_code a module function, like frame2message.
terryjreedy d541302
Add FunctionTest
terryjreedy df1936f
Refactor IdbTest.
terryjreedy fedfbc0
FunctionTest comment
terryjreedy a731e63
Use False, True for Debugger().interacting.
terryjreedy 9eb6548
Modify Debugger tests
terryjreedy 0454ea5
Import Mock and patch, refactor to run many tests without gui.
terryjreedy 63008a5
Put no-gui tests first, fix breakpoints, work on gui tests.
terryjreedy fe14bb8
Tests pass.
terryjreedy fd7e259
Merge branch 'main' into idlelib_tests
terryjreedy 5fe9868
ws
terryjreedy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
setup tests for the debugger.Debugger class
- Loading branch information
commit 35915dafeab0df98dd48e5cd8c1b218d3df718aa
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.