mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[3.0.x] Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.
Refs https://bugs.python.org/issue38563.
Backport of e83c300a33 from master
This commit is contained in:
committed by
Mariusz Felisiak
parent
318d186d7e
commit
06e3c6db86
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user