##// END OF EJS Templates
no f-strings
Matthias Bussonnier -
Show More
@@ -60,7 +60,7 b' def _pseudo_sync_runner(coro):'
60 60 return exc.value
61 61 else:
62 62 # TODO: do not raise but return an execution result with the right info.
63 raise RuntimeError(f"{coro.__name__!r} needs a real async loop")
63 raise RuntimeError("{coro_name!r} needs a real async loop".format(coro_name=coro.__name__))
64 64
65 65
66 66 def _asyncify(code: str) -> str:
General Comments 0
You need to be logged in to leave comments. Login now