def METHOD_NAME(self):
    eq = self.assertEqual
    for file, mul, extra in (('', 22, ''), ('finame', 21, '=')):
        width = 60
        bar = mul * '='
        with self.subTest(file=file, bar=bar):
            file = file or 'Shell'
            line = pyshell.restart_line(width, file)
            eq(len(line), width)
            eq(line, f"{bar+extra} RESTART: {file} {bar}")