Skip to content

Commit de5d5e5

Browse files
committed
fixes for breakpointhook tests
1 parent 81c15b5 commit de5d5e5

File tree

1 file changed

+3
-2
lines changed
  • graalpython/lib-graalpython

1 file changed

+3
-2
lines changed

graalpython/lib-graalpython/sys.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,11 @@ def breakpointhook(*args, **kws):
229229
hook = getattr(module, funcname)
230230
except:
231231
warnings.warn(
232-
'Ignoring unimportable $PYTHONBREAKPOINT: {}'.format(
232+
'Ignoring unimportable $PYTHONBREAKPOINT: "{}"'.format(
233233
hookname),
234234
RuntimeWarning)
235-
return hook(*args, **kws)
235+
else:
236+
return hook(*args, **kws)
236237

237238

238239
__breakpointhook__ = breakpointhook

0 commit comments

Comments
 (0)