summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2021-02-03 09:18:03 +0100
committerCarlton Gibson <carlton.gibson@noumenal.es>2021-03-10 18:05:17 +0100
commit06b2e0656713314dc77470fa37f7d64c7c1b156c (patch)
tree40857f078977802db7f28cf2bded5c073004e376
parent98d3fd61026457a435ef5b7afce6b6e64e9f241d (diff)
downloaddjango-c/32409-async-tests-cannot-call-orm.tar.gz
Refs #32409 -- Doc'd ORM calling limitations on async tests.c/32409-async-tests-cannot-call-orm
-rw-r--r--docs/topics/testing/tools.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 7b3ceb3c81..c18dc0b762 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1864,6 +1864,9 @@ creates.
async def test_my_thing(self):
...
+Note that ``async def`` test cases calling into the ORM via ``sync_to_async``
+are not currently supported.
+
.. _topics-testing-email:
Email services