From 6e17bfb6f50cda828a89be90aab946b007bc462b Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Thu, 14 Oct 2021 10:34:15 +0100 Subject: [PATCH] Add comment to explain Django version differences in asgiref Co-authored-by: Carlton Gibson --- log_request_id/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/log_request_id/tests.py b/log_request_id/tests.py index 9440c2a..ec88320 100644 --- a/log_request_id/tests.py +++ b/log_request_id/tests.py @@ -163,6 +163,7 @@ def inner(): self.assertRaises(ImproperlyConfigured, inner) +# asgiref is required from Django 3.0 if async_to_sync: class AsyncRequestIDLoggingTestCase(RequestIDLoggingTestCase):