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

Simplify and Fix test_decorator.py #273

Merged
merged 6 commits into from
Jul 10, 2023
Merged

Conversation

lebrice
Copy link
Owner

@lebrice lebrice commented Jul 10, 2023

  • Based on Fix test_decorator issue #269 #270
  • Renames partial to change_defaults to clarify the test file a bit.
  • Remove the delay_wrapper, replace it with functools.partial
  • Add an if in the test file to only use the additional level of indirection when needed.

Fixes #269

@lebrice lebrice merged commit d4d6d2a into master Jul 10, 2023
@lebrice lebrice deleted the lebrice/fix_test_decorator branch July 10, 2023 21:00
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.

test_decorator failure for Python 3.11.4
2 participants