def test_track_with_no_args(): pytest.importorskip('rpython.translator.tool.reftracker') def fn(): set_trace() return 42 check(fn, """ [NUM] > .*fn() -> return 42 # track ... SyntaxError: # c """)