Skip to content
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

bpo-35730: IDLE - test squeezer reload() by checking load_font() #11585

Merged

Conversation

taleinat
Copy link
Contributor

@taleinat taleinat commented Jan 17, 2019

This is an alternative solution to PR #11552.

Here, instead of checking that zero_char_width changes, the test just checks that .load_font() is called.

https://bugs.python.org/issue35730

@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting merge labels Jan 17, 2019
@taleinat taleinat added skip news type-bug An unexpected behavior, bug, or error labels Jan 17, 2019
@terryjreedy terryjreedy changed the title bpo-35730: fix test_reload() by avoiding checking the actual zero_char_width bpo-35730: IDLE - test squeezer reload() by checking load_font called Jan 18, 2019
@terryjreedy terryjreedy changed the title bpo-35730: IDLE - test squeezer reload() by checking load_font called bpo-35730: IDLE - test squeezer reload() by checking load_font() Jan 18, 2019
@terryjreedy
Copy link
Member

terryjreedy commented Jan 18, 2019

Thanks. This should be as dependable as any other 'function called' test. Thanks.

@terryjreedy terryjreedy merged commit e55cf02 into python:master Jan 18, 2019
@miss-islington
Copy link
Contributor

Thanks @taleinat for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-11601 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 18, 2019
miss-islington added a commit that referenced this pull request Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants