Skip to content

Commit

Permalink
pythongh-128694: Fix (env changed) error in test_inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 10, 2025
1 parent 087bb48 commit 5437f66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Lib/test/test_inspect/test_inspect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from annotationlib import Format, ForwardRef
import asyncio
import builtins
import collections
import copy
Expand Down Expand Up @@ -49,6 +50,10 @@
from test.test_inspect import inspect_deferred_annotations


def tearDownModule():
asyncio._set_event_loop_policy(None)


# Functions tested in this suite:
# ismodule, isclass, ismethod, isfunction, istraceback, isframe, iscode,
# isbuiltin, isroutine, isgenerator, ispackage, isgeneratorfunction, getmembers,
Expand Down

0 comments on commit 5437f66

Please sign in to comment.