From 11193df6fa11f7c3b97481f24ef178ae538e4583 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Tue, 31 May 2022 15:47:20 -0700 Subject: [PATCH] Remove failing test on Python 3.11 asyncio.coroutine has been removed. I don't think this test case is particularly useful. --- test-data/unit/stubgen.test | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test-data/unit/stubgen.test b/test-data/unit/stubgen.test index 927cc5617c75..a7c2ae6d21fd 100644 --- a/test-data/unit/stubgen.test +++ b/test-data/unit/stubgen.test @@ -1364,23 +1364,6 @@ class F: @t.coroutine def g(): ... -[case testCoroutineSpecialCase_import] -import asyncio - -__all__ = ['C'] - -@asyncio.coroutine -def f(): - pass - -class C: - def f(self): - pass -[out] -import asyncio - -class C: - def f(self) -> None: ... -- Tests for stub generation from semantically analyzed trees. -- These tests are much slower, so use the `_semanal` suffix only when needed.