def METHOD_NAME(self):
    try:
        assert False
    except AssertionError:
        exci = ExceptionInfo.from_current()
    pattern = r"  File '.*test_code.py':\d+ in test_tb_entry_str\n  assert False"
    entry = str(exci.traceback[0])
    assert re.match(pattern, entry)