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

PR: Restore pickle import in py3compat.py and some fixes to the main window tests #20450

Merged
merged 3 commits into from
Feb 1, 2023

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Jan 30, 2023

Description of Changes

This is required to have compatibility with the latest version of spyder-line-profiler.

I also made the following fixes to our test suite, which I noticed after merging PR #20425:

  • Make test_switch_to_plugin run before test_tour_message. This makes that test pass the first time is run, instead of requiring a second time.
  • Move preferences_dialog_helper to the main window conftest.py files and mark some of its tests as flaky. This makes the main window tests more reliable.

Issue(s) Resolved

Fixes #20430.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

This avoids running that test several times to make it pass.
- That's because that function is not a test but an auxiliary function.
- Also, mark some tests as flaky.
@ccordoba12 ccordoba12 changed the title PR: Restore pickle import in py3compat.py PR: Restore pickle import in py3compat.py and some fixes to the main window tests Jan 30, 2023
@ccordoba12
Copy link
Member Author

@dalthviz, this is ready for review.

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ccordoba12 !

@ccordoba12 ccordoba12 merged commit a562b74 into spyder-ide:5.x Feb 1, 2023
@ccordoba12 ccordoba12 deleted the issue-20430 branch February 1, 2023 21:22
ccordoba12 added a commit that referenced this pull request Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants