diff options
Diffstat (limited to '')
-rw-r--r-- | test/test_asgi_application_unix_abstract.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/test_asgi_application_unix_abstract.py b/test/test_asgi_application_unix_abstract.py index 2ca7839f..e473154a 100644 --- a/test/test_asgi_application_unix_abstract.py +++ b/test/test_asgi_application_unix_abstract.py @@ -1,14 +1,13 @@ from packaging import version from unit.applications.lang.python import TestApplicationPython +prerequisites = { + 'modules': {'python': lambda v: version.parse(v) >= version.parse('3.5')}, + 'features': {'unix_abstract': True}, +} + class TestASGIApplicationUnixAbstract(TestApplicationPython): - prerequisites = { - 'modules': { - 'python': lambda v: version.parse(v) >= version.parse('3.5') - }, - 'features': ['unix_abstract'], - } load_module = 'asgi' def test_asgi_application_unix_abstract(self): |