Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
(env changed)
test_inspect
1 parent 2fcdc84 commit 65b484dCopy full SHA for 65b484d
1 file changed
Lib/test/test_inspect/test_inspect.py
@@ -1,4 +1,5 @@
1
from annotationlib import Format, ForwardRef
2
+import asyncio
3
import builtins
4
import collections
5
import copy
@@ -2791,6 +2792,10 @@ async def number_asyncgen():
2791
2792
async def asyncTearDown(self):
2793
await self.asyncgen.aclose()
2794
2795
+ @classmethod
2796
+ def tearDownClass(cls):
2797
+ asyncio._set_event_loop_policy(None)
2798
+
2799
def _asyncgenstate(self):
2800
return inspect.getasyncgenstate(self.asyncgen)
2801
0 commit comments