Skip to content

Commit ea1b85a

Browse files
authored
Use Python3 attr name for test exitfunc (#36)
1 parent 1e4f1e6 commit ea1b85a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sim_asyncio_ioc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ async def callback(value):
3939
time.sleep(1)
4040
# Make sure coverage is written on epicsExit
4141
from pytest_cov.embed import cleanup
42-
sys.exitfunc = cleanup
42+
sys._run_exitfuncs = cleanup
4343
softioc.interactive_ioc()

0 commit comments

Comments
 (0)