File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3636
3737from test .support import cpython_only , import_helper
3838from test .support import MISSING_C_DOCSTRINGS , ALWAYS_EQ
39+ from test .support import run_simple_async_fn
3940from test .support .import_helper import DirsOnSysPath , ready_to_import
4041from test .support .os_helper import TESTFN , temp_cwd
4142from test .support .script_helper import assert_python_ok , assert_python_failure , kill_python
@@ -1161,7 +1162,7 @@ def f(self):
11611162 sys .modules .pop ("inspect_actual" )
11621163
11631164 def test_nested_class_definition_inside_async_function (self ):
1164- from test . support import run_simple_async_fn as run
1165+ run = run_simple_async_fn
11651166
11661167 self .assertSourceEqual (run (mod2 .func225 ), 226 , 227 )
11671168 self .assertSourceEqual (mod2 .cls226 , 231 , 235 )
You can’t perform that action at this time.
0 commit comments