Skip to content

Commit

Permalink
First pass at fixing warnings from py3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim committed Dec 1, 2024
1 parent 32b1a58 commit 50d1b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion procrastinate/contrib/django/procrastinate_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class FutureApp(blueprints.Blueprint):
]
)
for method in _shadowed_methods:
locals()[method] = functools.partial(_not_ready, method)
locals()[method] = staticmethod(functools.partial(_not_ready, method))


class ProxyApp:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ filterwarnings = """
ignore:unclosed.+:ResourceWarning
"""
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
DJANGO_SETTINGS_MODULE = "tests.acceptance.django_settings"


Expand Down

0 comments on commit 50d1b61

Please sign in to comment.