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

Fix tests for tornado+pytest issue #943

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

sirosen
Copy link
Collaborator

@sirosen sirosen commented May 17, 2024

These are two small fixes to get clean test runs.

I realized that even if tornado releases with the fix from pytest, we won't instantly drop support for older tornado versions. So the workaround suggested by a pytest dev is what I'm applying here.
I setup a base test class which we can tweak appropriately and set __test__ = False to keep pytest from trying to run tests from that class (which fails in other ways).

On my way to this, I found I needed a very minor mypy tweak, which is isolated in a separate commit.

sirosen added 2 commits April 30, 2024 09:16
For multiline assignments, ignores now go on the value expression, not
the trailing paren.
This is a workaround which resolves marshmallow-code#941 for now.
@sloria sloria merged commit 9b3cd2f into marshmallow-code:dev May 21, 2024
8 checks passed
@sirosen sirosen deleted the fix-tests branch May 21, 2024 14:05
@lafrech
Copy link
Member

lafrech commented May 23, 2024

Thanks @sirosen for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants