(event: str, _args: Unused)
| 225 | nested: list[bool] = [] |
| 226 | |
| 227 | def setprofile_again(event: str, _args: Unused) -> None: |
| 228 | if event == "sys.setprofile" and not nested: |
| 229 | nested.append(True) |
| 230 | sys.setprofile(sys.getprofile()) |
| 231 | |
| 232 | sys.addaudithook(setprofile_again) |
| 233 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected