diff options
author | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-10-24 10:43:05 +0200 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-10-24 10:43:05 +0200 |
commit | e83c300a3312995d46315616f4361dfa110c741b (patch) | |
tree | 314436a958db9cce99adc642eb4619ab4863d147 /tests/asgi | |
parent | fa5f3291e7f2611d53e64ab481ebe951b0161791 (diff) | |
download | django-e83c300a3312995d46315616f4361dfa110c741b.tar.gz |
Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.
Refs https://bugs.python.org/issue38563.
Diffstat (limited to 'tests/asgi')
-rw-r--r-- | tests/asgi/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/asgi/tests.py b/tests/asgi/tests.py index 32520fae29..eee12b95ba 100644 --- a/tests/asgi/tests.py +++ b/tests/asgi/tests.py @@ -1,5 +1,6 @@ import asyncio import sys +from unittest import skipIf from asgiref.sync import async_to_sync from asgiref.testing import ApplicationCommunicator @@ -12,6 +13,7 @@ from django.test import SimpleTestCase, override_settings from .urls import test_filename +@skipIf(sys.platform == 'win32' and (3, 8, 0) < sys.version_info < (3, 8, 1), 'https://bugs.python.org/issue38563') @override_settings(ROOT_URLCONF='asgi.urls') class ASGITest(SimpleTestCase): |