Skip to content

Commit

Permalink
fixup! fix quality
Browse files Browse the repository at this point in the history
  • Loading branch information
robrap committed Nov 21, 2024
1 parent 3bcabaf commit be8b27e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def init_worker_process(sender, **kwargs):
"""
Adds a Datadog span processor to each worker process.
We have to do this from inside the worker processes because they fork from the
parent process before the plugin app is initialized.
"""
Expand Down
2 changes: 1 addition & 1 deletion edx_arch_experiments/datadog_monitoring/tests/test_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ def test_signal_has_receiver(self):
was already imported.
"""
# the name of the function is in the weakref __repr__
assert 'init_worker_process' in worker_process_init.receivers[0][1].__repr__()
assert 'init_worker_process' in repr(worker_process_init.receivers[0][1])

0 comments on commit be8b27e

Please sign in to comment.